Home
last modified time | relevance | path

Searched refs:u32Tmp (Results 1 – 8 of 8) sorted by relevance

/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/
Drtc.c149 uint32_t u32Tmp; in RTC_GetDateAndTime() local
171 u32Tmp = (g_u32hiYear * 10UL); in RTC_GetDateAndTime()
172 u32Tmp += g_u32loYear; in RTC_GetDateAndTime()
173 sPt->u32Year = u32Tmp + (uint32_t)RTC_YEAR2000; in RTC_GetDateAndTime()
176 u32Tmp = (g_u32hiMonth * 10UL); in RTC_GetDateAndTime()
177 sPt->u32Month = u32Tmp + g_u32loMonth; in RTC_GetDateAndTime()
180 u32Tmp = (g_u32hiDay * 10UL); in RTC_GetDateAndTime()
181 sPt->u32Day = u32Tmp + g_u32loDay; in RTC_GetDateAndTime()
186 u32Tmp = (g_u32hiHour * 10UL); in RTC_GetDateAndTime()
187 u32Tmp += g_u32loHour; in RTC_GetDateAndTime()
[all …]
Dcrypto.c1114 uint32_t u32Tmp; in ECC_GeneratePublicKey() local
1148 u32Tmp = g_ECC_done; in ECC_GeneratePublicKey()
1149 u32Tmp |= g_ECCERR_done; in ECC_GeneratePublicKey()
1151 while(u32Tmp == 0UL); in ECC_GeneratePublicKey()
1179 uint32_t u32Tmp; in ECC_GeneratePublicKey_KS() local
1211 u32Tmp = g_ECC_done; in ECC_GeneratePublicKey_KS()
1212 u32Tmp |= g_ECCERR_done; in ECC_GeneratePublicKey_KS()
1214 while(u32Tmp == 0UL); in ECC_GeneratePublicKey_KS()
1313 uint32_t u32Tmp; in ECC_GenerateSecretZ() local
1362 u32Tmp = g_ECC_done; in ECC_GenerateSecretZ()
[all …]
Dclk.c891 uint32_t u32Tmp, u32Tmp2, u32Tmp3, u32Min, u32MinNF, u32MinNR; in CLK_EnablePLL() local
953 u32Tmp = u32PllSrcClk / u32NR; /* FREF = FIN/NR */ in CLK_EnablePLL()
954 … if((u32Tmp >= FREQ_2MHZ) && (u32Tmp <= FREQ_8MHZ)) /* Constraint 2: 2MHz < FREF < 8MHz. */ in CLK_EnablePLL()
958 … u32Tmp2 = (u32Tmp * u32NF) << 1; /* FVCO = FREF*2*NF */ in CLK_EnablePLL()
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/
Drtc.c148 uint32_t u32Tmp; in RTC_GetDateAndTime() local
170 u32Tmp = (g_u32hiYear * 10UL); in RTC_GetDateAndTime()
171 u32Tmp += g_u32loYear; in RTC_GetDateAndTime()
172 sPt->u32Year = u32Tmp + (uint32_t)RTC_YEAR2000; in RTC_GetDateAndTime()
175 u32Tmp = (g_u32hiMonth * 10UL); in RTC_GetDateAndTime()
176 sPt->u32Month = u32Tmp + g_u32loMonth; in RTC_GetDateAndTime()
179 u32Tmp = (g_u32hiDay * 10UL); in RTC_GetDateAndTime()
180 sPt->u32Day = u32Tmp + g_u32loDay; in RTC_GetDateAndTime()
185 u32Tmp = (g_u32hiHour * 10UL); in RTC_GetDateAndTime()
186 u32Tmp += g_u32loHour; in RTC_GetDateAndTime()
[all …]
Dclk.c769 uint32_t u32Tmp, u32Tmp2, u32Tmp3, u32Min, u32MinNF, u32MinNR; in CLK_EnablePLL() local
832 u32Tmp = u32PllSrcClk / u32NR; in CLK_EnablePLL()
833 if((u32Tmp >= FREQ_2MHZ) && (u32Tmp <= FREQ_8MHZ)) in CLK_EnablePLL()
837 u32Tmp2 = (u32Tmp * u32NF) << 1; in CLK_EnablePLL()
Dcrypto.c1034 uint32_t u32Tmp; in ECC_GeneratePublicKey() local
1066 u32Tmp = g_ECC_done; in ECC_GeneratePublicKey()
1067 u32Tmp |= g_ECCERR_done; in ECC_GeneratePublicKey()
1069 while(u32Tmp == 0UL); in ECC_GeneratePublicKey()
1093 uint32_t u32Tmp; in ECC_GenerateSecretZ() local
1142 u32Tmp = g_ECC_done; in ECC_GenerateSecretZ()
1143 u32Tmp |= g_ECCERR_done; in ECC_GenerateSecretZ()
1145 while(u32Tmp == 0UL); in ECC_GenerateSecretZ()
1155 uint32_t u32Tmp; in run_ecc_codec() local
1180 u32Tmp = g_ECC_done; in run_ecc_codec()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/common/bsp/StdDriver/src/
Dusci_uart.c330 uint32_t u32Tmp, u32Tmp2, u32Min, u32MinClkDiv, u32MinDSCnt; in UUART_Open() local
345 u32Tmp = (u32PCLKFreq / u32Div) - u32baudrate; in UUART_Open()
348 if(u32Tmp >= u32Tmp2) u32Div = u32Div + 1ul; in UUART_Open()
362 u32Tmp = 0x400ul * 0x10ul; in UUART_Open()
365 if(u32Div <= (u32Tmp * u32PDSCnt)) break; in UUART_Open()
376 u32Tmp = 0ul; in UUART_Open()
386 u32Tmp = u32Div - (u32ClkDiv * u32DSCnt); in UUART_Open()
387 u32Tmp2 = u32Tmp + 1ul; in UUART_Open()
391 u32Tmp = u32Div - (u32ClkDiv * u32DSCnt); in UUART_Open()
395 if(u32Tmp >= u32Tmp2) in UUART_Open()
[all …]
Dcan.c590 uint32_t u32Tmp; in CAN_ReadMsgObj() local
632 u32Tmp = (((tCAN->IF[u8MsgIfNum].ARB2) & 0x1FFFUL) << 16); in CAN_ReadMsgObj()
633 u32Tmp |= tCAN->IF[u8MsgIfNum].ARB1; in CAN_ReadMsgObj()
635 pCanMsg->Id = u32Tmp; in CAN_ReadMsgObj()