wes3 opened a new pull request #2024: hw/mcu/dialog: Add helper to enable/disable AMBA clocks URL: https://github.com/apache/mynewt-core/pull/2024 Add a helper to enable/disable AMBA clocks in CRG_TOP->CLK_AMBA_REG. The code was doing an un-protected read-modify-write and if the clock is modified inside ISR's this could cause unpredictable behavior. The helper will enable/disable interrupts around the setting/clearing of bits in that register. The helpers added are: da1469x_clock_amba_enable(mask) da1469x_clock_amba_disable(mask)
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
