57 #if (defined(PDL_PERIPHERAL_LPM_ACTIVE))
103 FM4_RTC->WTCR20_f.BREAD = 1;
106 while(1 == FM4_RTC->WTCR20_f.BREAD)
111 *(uint32_t*)((uint32_t)(&stcBackUpReg->
u8BREG00) + (uint32_t)u8Counter)
112 = *(uint32_t*)((uint32_t)(&FM4_RTC->BREG00_03) + u8Counter);
132 *(uint32_t*)((uint32_t)(&FM4_RTC->BREG00_03) + u8Counter)
133 = *(uint32_t*)((uint32_t)(&stcBackUpReg->
u8BREG00) + u8Counter);
137 FM4_RTC->WTCR20_f.BWRITE = 1;
140 while(1 == FM4_RTC->WTCR20_f.BWRITE)
147 #if (defined(PDL_PERIPHERAL_CLK_ACTIVE)) && (defined(PDL_PERIPHERAL_EXINT_ACTIVE))
167 if (
TRUE == bDisablePllMainClock)
173 if (
TRUE == bDisableSubClock)
200 FM4_CRG->SCM_CTL_f.MOSCE = 1u;
203 if (
TRUE == bDisablePllClock)
208 if (
TRUE == bDisableSubClock)
235 if((1u != FM4_CRG->SCM_STR_f.PLRDY) ||
236 (0x40u != (FM4_CRG->SCM_STR & 0xE0u))
244 if (
TRUE == bDisableSubClock)
273 if (
TRUE == bDisablePllMainClock)
279 if (
TRUE == bDisableSubClock)
303 if(1u != FM4_CRG->SCM_STR_f.MORDY)
312 if (
TRUE == bDisablePllMainClock)
340 if((1u != FM4_CRG->SCM_STR_f.PLRDY) ||
341 (0x40u != (FM4_CRG->SCM_STR & 0xE0u))
349 if (
TRUE == bDisableSubClock)
378 if (
TRUE == bDisablePllMainClock)
384 if (
TRUE == bDisableSubClock)
411 FM4_CRG->SCM_CTL_f.MOSCE = 1u;
414 if (
TRUE == bDisablePllClock)
419 if (
TRUE == bDisableSubClock)
448 if (
TRUE == bDisablePllMainClock)
454 if (
TRUE == bDisableSubClock)
478 if(1u != FM4_CRG->SCM_STR_f.MORDY)
487 if (
TRUE == bDisablePllMainClock)
567 #endif // #if (defined(PDL_PERIPHERAL_CLK_ACTIVE)) && (defined(PDL_PERIPHERAL_EXINT_ACTIVE))
622 *u8Data = *(uint8_t*)((uint32_t)(&stcBackUpReg.
u8BREG00) + (uint32_t)u8AddressOffset);
647 *(uint8_t*)((uint32_t)(&stcBackUpReg.
u8BREG00) + (uint32_t)u8AddressOffset) = u8Data;
673 if (0 != (u8AddressOffset % 2))
680 *u16Data = *(uint16_t*)((uint32_t)(&stcBackUpReg.
u8BREG00) + (uint32_t)u8AddressOffset);
705 if (0 != (u8AddressOffset % 2))
711 *(uint16_t*)((uint32_t)(&stcBackUpReg.
u8BREG00) + (uint32_t)u8AddressOffset) = u16Data;
737 if (0 != (u8AddressOffset % 4))
744 *u32Data = *(uint32_t*)((uint32_t)(&stcBackUpReg.
u8BREG00) + (uint32_t)u8AddressOffset);
769 if (0 != (u8AddressOffset % 4))
775 *(uint32_t*)((uint32_t)(&stcBackUpReg.
u8BREG00) + (uint32_t)u8AddressOffset) = u32Data;
783 #endif // #if (defined(PDL_PERIPHERAL_ENABLE_LPM))