Home
last modified time | relevance | path

Searched refs:u32TmpReg (Results 1 – 3 of 3) sorted by relevance

/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/
Dtamper.c111 uint32_t u32TmpReg; in TAMPER_StaticTamperEnable() local
115 u32TmpReg = (TAMPER_TIOCTL_TAMP0EN_Msk | (u32DetecLevel << TAMPER_TIOCTL_TAMP0LV_Pos) | in TAMPER_StaticTamperEnable()
123 u32Reg |= (u32TmpReg << (i * 4UL)); in TAMPER_StaticTamperEnable()
149 uint32_t u32TmpReg; in TAMPER_StaticTamperDisable() local
153 u32TmpReg = TAMPER_TIOCTL_TAMP0EN_Msk; in TAMPER_StaticTamperDisable()
159 u32Reg &= ~(u32TmpReg << (i * 4UL)); in TAMPER_StaticTamperDisable()
194 uint32_t u32TmpReg; in TAMPER_DynamicTamperEnable() local
211 u32TmpReg = (TAMPER_TIOCTL_TAMP0EN_Msk | TAMPER_TIOCTL_TAMP1EN_Msk | in TAMPER_DynamicTamperEnable()
216u32TmpReg = (TAMPER_TIOCTL_TAMP0EN_Msk | TAMPER_TIOCTL_TAMP1EN_Msk | TAMPER_TIOCTL_DYNPR0EN_Msk); in TAMPER_DynamicTamperEnable()
224 u32Reg |= (u32TmpReg << (i * 8UL)); in TAMPER_DynamicTamperEnable()
[all …]
Drtc.c808 uint32_t u32TmpReg; in RTC_StaticTamperEnable() local
812 u32TmpReg = (RTC_TAMPCTL_TAMP0EN_Msk | (u32DetecLevel << RTC_TAMPCTL_TAMP0LV_Pos) | in RTC_StaticTamperEnable()
820 u32Reg |= (u32TmpReg << (i * 4UL)); in RTC_StaticTamperEnable()
847 uint32_t u32TmpReg; in RTC_StaticTamperDisable() local
851 u32TmpReg = (RTC_TAMPCTL_TAMP0EN_Msk); in RTC_StaticTamperDisable()
857 u32Reg &= ~(u32TmpReg << (i * 4UL)); in RTC_StaticTamperDisable()
892 uint32_t u32TmpReg; in RTC_DynamicTamperEnable() local
909 u32TmpReg = (RTC_TAMPCTL_TAMP0EN_Msk | RTC_TAMPCTL_TAMP1EN_Msk | in RTC_DynamicTamperEnable()
914 u32TmpReg = (RTC_TAMPCTL_TAMP0EN_Msk | RTC_TAMPCTL_TAMP1EN_Msk | RTC_TAMPCTL_DYNPR0EN_Msk); in RTC_DynamicTamperEnable()
922 u32Reg |= (u32TmpReg << (i * 8UL)); in RTC_DynamicTamperEnable()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/
Drtc.c828 uint32_t u32TmpReg; in RTC_StaticTamperEnable() local
833 u32TmpReg = (RTC_TAMPCTL_TAMP0EN_Msk | (u32DetecLevel << RTC_TAMPCTL_TAMP0LV_Pos) | in RTC_StaticTamperEnable()
841 u32Reg |= (u32TmpReg << (i * 4UL)); in RTC_StaticTamperEnable()
869 uint32_t u32TmpReg; in RTC_StaticTamperDisable() local
874 u32TmpReg = (RTC_TAMPCTL_TAMP0EN_Msk); in RTC_StaticTamperDisable()
880 u32Reg &= ~(u32TmpReg << (i * 4UL)); in RTC_StaticTamperDisable()
916 uint32_t u32TmpReg; in RTC_DynamicTamperEnable() local
934 u32TmpReg = (RTC_TAMPCTL_TAMP0EN_Msk | RTC_TAMPCTL_TAMP1EN_Msk | in RTC_DynamicTamperEnable()
939 u32TmpReg = (RTC_TAMPCTL_TAMP0EN_Msk | RTC_TAMPCTL_TAMP1EN_Msk | RTC_TAMPCTL_DYNPR0EN_Msk); in RTC_DynamicTamperEnable()
947 u32Reg |= (u32TmpReg << (i * 8UL)); in RTC_DynamicTamperEnable()
[all …]