File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
hal/targets/hal/TARGET_Freescale/TARGET_KSDK2_MCUS/TARGET_K64F/drivers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -719,7 +719,7 @@ static inline void CLOCK_SetXtal32Freq(uint32_t freq)
719
719
static inline void CLOCK_EnableClock (clock_ip_name_t name )
720
720
{
721
721
uint32_t regAddr = SIM_BASE + CLK_GATE_ABSTRACT_REG_OFFSET ((uint32_t )name );
722
- __FSL_CLOCK_SECURE_BITS_SET ((uint32_t * ) regAddr , (1U << CLK_GATE_ABSTRACT_BITS_SHIFT ((uint32_t )name )));
722
+ __FSL_CLOCK_SECURE_BITS_SET ((volatile uint32_t * ) regAddr , (1U << CLK_GATE_ABSTRACT_BITS_SHIFT ((uint32_t )name )));
723
723
}
724
724
725
725
/*!
@@ -730,7 +730,7 @@ static inline void CLOCK_EnableClock(clock_ip_name_t name)
730
730
static inline void CLOCK_DisableClock (clock_ip_name_t name )
731
731
{
732
732
uint32_t regAddr = SIM_BASE + CLK_GATE_ABSTRACT_REG_OFFSET ((uint32_t )name );
733
- __FSL_CLOCK_SECURE_BITS_CLEAR ((uint32_t * ) regAddr , (1U << CLK_GATE_ABSTRACT_BITS_SHIFT ((uint32_t )name )));
733
+ __FSL_CLOCK_SECURE_BITS_CLEAR ((volatile uint32_t * ) regAddr , (1U << CLK_GATE_ABSTRACT_BITS_SHIFT ((uint32_t )name )));
734
734
}
735
735
736
736
/*!
You can’t perform that action at this time.
0 commit comments