You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/10/01 23:03:41 UTC

[GitHub] [mynewt-core] wes3 opened a new pull request #2024: hw/mcu/dialog: Add helper to enable/disable AMBA clocks

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:
users@infra.apache.org


With regards,
Apache Git Services