Searched refs:u32Tmp (Results 1 – 9 of 9) sorted by relevance
| /hal_nuvoton-latest/m2l31x/StdDriver/src/ |
| D | rtc.c | 166 uint32_t u32Tmp; in RTC_GetDateAndTime() local 188 u32Tmp = (g_u32hiYear * 10ul); in RTC_GetDateAndTime() 189 u32Tmp += g_u32loYear; in RTC_GetDateAndTime() 190 sPt->u32Year = u32Tmp + RTC_YEAR2000; in RTC_GetDateAndTime() 193 u32Tmp = (g_u32hiMonth * 10ul); in RTC_GetDateAndTime() 194 sPt->u32Month = u32Tmp + g_u32loMonth; in RTC_GetDateAndTime() 197 u32Tmp = (g_u32hiDay * 10ul); in RTC_GetDateAndTime() 198 sPt->u32Day = u32Tmp + g_u32loDay; in RTC_GetDateAndTime() 203 u32Tmp = (g_u32hiHour * 10ul); in RTC_GetDateAndTime() 204 u32Tmp += g_u32loHour; in RTC_GetDateAndTime() [all …]
|
| D | usci_uart.c | 330 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 …]
|
| /hal_nuvoton-latest/m48x/StdDriver/src/ |
| D | rtc.c | 172 uint32_t u32Tmp; in RTC_GetDateAndTime() local 194 u32Tmp = (g_u32hiYear * 10ul); in RTC_GetDateAndTime() 195 u32Tmp += g_u32loYear; in RTC_GetDateAndTime() 196 sPt->u32Year = u32Tmp + RTC_YEAR2000; in RTC_GetDateAndTime() 199 u32Tmp = (g_u32hiMonth * 10ul); in RTC_GetDateAndTime() 200 sPt->u32Month = u32Tmp + g_u32loMonth; in RTC_GetDateAndTime() 203 u32Tmp = (g_u32hiDay * 10ul); in RTC_GetDateAndTime() 204 sPt->u32Day = u32Tmp + g_u32loDay; in RTC_GetDateAndTime() 209 u32Tmp = (g_u32hiHour * 10ul); in RTC_GetDateAndTime() 210 u32Tmp += g_u32loHour; in RTC_GetDateAndTime() [all …]
|
| D | usci_uart.c | 330 uint32_t u32Tmp, u32Tmp2, u32Min, u32MinClkDiv, u32MinDSCnt; in UUART_Open() local 344 u32Tmp = (u32PCLKFreq / u32Div) - u32baudrate; in UUART_Open() 347 if(u32Tmp >= u32Tmp2) u32Div = u32Div + 1ul; in UUART_Open() 349 u32Tmp = 0x400ul * 0x10ul; in UUART_Open() 352 if(u32Div <= (u32Tmp * u32PDSCnt)) break; in UUART_Open() 363 u32Tmp = 0ul; in UUART_Open() 373 u32Tmp = u32Div - (u32ClkDiv * u32DSCnt); in UUART_Open() 374 u32Tmp2 = u32Tmp + 1ul; in UUART_Open() 378 u32Tmp = u32Div - (u32ClkDiv * u32DSCnt); in UUART_Open() 382 if(u32Tmp >= u32Tmp2) in UUART_Open() [all …]
|
| D | clk.c | 793 uint32_t u32Tmp, u32Tmp2, u32Tmp3, u32Min, u32MinNF, u32MinNR, u32MinNO, u32basFreq; in CLK_EnablePLL() local 873 u32Tmp = u32PllSrcClk / u32NR; in CLK_EnablePLL() 874 if((u32Tmp >= 4000000UL) && (u32Tmp <= 8000000UL)) in CLK_EnablePLL() 879 u32Tmp2 = (((u32Tmp * 2UL) >> 2) * u32NF); in CLK_EnablePLL()
|
| D | can.c | 1202 uint32_t u32Tmp; in CAN_Transmit() local 1204 u32Tmp = (tCAN->TEST & CAN_TEST_BASIC_Msk); in CAN_Transmit() 1206 if((tCAN->CON & CAN_CON_TEST_Msk) && u32Tmp) in CAN_Transmit() 1241 uint32_t u32Tmp; in CAN_Receive() local 1243 u32Tmp = (tCAN->TEST & CAN_TEST_BASIC_Msk); in CAN_Receive() 1245 if((tCAN->CON & CAN_CON_TEST_Msk) && u32Tmp) in CAN_Receive()
|
| /hal_nuvoton-latest/m46x/StdDriver/src/ |
| D | rtc.c | 161 uint32_t u32Tmp; in RTC_GetDateAndTime() local 183 u32Tmp = (g_u32hiYear * 10UL); in RTC_GetDateAndTime() 184 u32Tmp += g_u32loYear; in RTC_GetDateAndTime() 185 sPt->u32Year = u32Tmp + (uint32_t)RTC_YEAR2000; in RTC_GetDateAndTime() 188 u32Tmp = (g_u32hiMonth * 10UL); in RTC_GetDateAndTime() 189 sPt->u32Month = u32Tmp + g_u32loMonth; in RTC_GetDateAndTime() 192 u32Tmp = (g_u32hiDay * 10UL); in RTC_GetDateAndTime() 193 sPt->u32Day = u32Tmp + g_u32loDay; in RTC_GetDateAndTime() 198 u32Tmp = (g_u32hiHour * 10UL); in RTC_GetDateAndTime() 199 u32Tmp += g_u32loHour; in RTC_GetDateAndTime() [all …]
|
| D | usci_uart.c | 330 uint32_t u32Tmp, u32Tmp2, u32Min, u32MinClkDiv, u32MinDSCnt; in UUART_Open() local 338 u32Tmp = (u32PCLKFreq / u32Div) - u32baudrate; in UUART_Open() 341 if(u32Tmp >= u32Tmp2) u32Div = u32Div + 1ul; in UUART_Open() 355 u32Tmp = 0x400ul * 0x10ul; in UUART_Open() 358 if(u32Div <= (u32Tmp * u32PDSCnt)) break; in UUART_Open() 369 u32Tmp = 0ul; in UUART_Open() 379 u32Tmp = u32Div - (u32ClkDiv * u32DSCnt); in UUART_Open() 380 u32Tmp2 = u32Tmp + 1ul; in UUART_Open() 384 u32Tmp = u32Div - (u32ClkDiv * u32DSCnt); in UUART_Open() 388 if(u32Tmp >= u32Tmp2) in UUART_Open() [all …]
|
| D | clk.c | 1044 uint32_t u32Tmp, u32Tmp2, u32Tmp3, u32Min, u32MinNF, u32MinNR; in CLK_EnablePLL() local 1114 u32Tmp = u32PllSrcClk / u32NR; /* FREF = FIN/NR */ in CLK_EnablePLL() 1115 … if((u32Tmp >= FREQ_4MHZ) && (u32Tmp <= FREQ_8MHZ)) /* Constraint 2: 4MHz < FREF < 8MHz. */ in CLK_EnablePLL() 1119 … u32Tmp2 = (u32Tmp * u32NF) << 1; /* FVCO = FREF*2*NF */ in CLK_EnablePLL()
|