Searched refs:temp3 (Results 1 – 5 of 5) sorted by relevance
| /bsp/hc32/tests/ |
| A D | test_rtc.c | 79 rt_uint16_t temp1, temp2, temp3; in rtc_sample() local 133 temp3 = ((argv[2][6] - '0') * 10) + \ in rtc_sample() 135 if (RT_EOK != set_time(temp1, temp2, temp3)) in rtc_sample() 140 rt_kprintf("\nset RTC time as %2d:%2d:%2d\n", temp1, temp2, temp3); in rtc_sample() 150 temp3 = ((argv[2][8] - '0') * 10) + \ in rtc_sample() 152 if (RT_EOK != set_date(temp1, temp2, temp3)) in rtc_sample() 157 rt_kprintf("\nset RTC date as %4d-%2d-%2d\n", temp1, temp2, temp3); in rtc_sample()
|
| /bsp/apm32/libraries/APM32E10x_Library/APM32E10x_StdPeriphDriver/src/ |
| A D | apm32e10x_adc.c | 689 uint32_t temp3 = 0; in ADC_ConfigInjectedChannel() local 709 temp3 = (temp1 & INJSEQ_SET_INJSEQLEN)>> 20; in ADC_ConfigInjectedChannel() 710 temp2 = INJSEQ_SET_INJSEQC << (5 * (uint8_t)((rank + 3) - (temp3 + 1))); in ADC_ConfigInjectedChannel() 712 temp2 = (uint32_t)channel << (5 * (uint8_t)((rank + 3) - (temp3 + 1))); in ADC_ConfigInjectedChannel()
|
| /bsp/apm32/libraries/APM32F10x_Library/APM32F10x_StdPeriphDriver/src/ |
| A D | apm32f10x_adc.c | 690 uint32_t temp3 = 0; in ADC_ConfigInjectedChannel() local 710 temp3 = (temp1 & INJSEQ_SET_INJSEQLEN) >> 20; in ADC_ConfigInjectedChannel() 711 temp2 = INJSEQ_SET_INJSEQC << (5 * (uint8_t)((rank + 3) - (temp3 + 1))); in ADC_ConfigInjectedChannel() 713 temp2 = (uint32_t)channel << (5 * (uint8_t)((rank + 3) - (temp3 + 1))); in ADC_ConfigInjectedChannel()
|
| /bsp/apm32/libraries/APM32S10x_Library/APM32S10x_StdPeriphDriver/src/ |
| A D | apm32s10x_adc.c | 677 uint32_t temp3 = 0; in ADC_ConfigInjectedChannel() local 697 temp3 = (temp1 & INJSEQ_SET_INJSEQLEN) >> 20; in ADC_ConfigInjectedChannel() 698 temp2 = INJSEQ_SET_INJSEQC << (5 * (uint8_t)((rank + 3) - (temp3 + 1))); in ADC_ConfigInjectedChannel() 700 temp2 = (uint32_t)channel << (5 * (uint8_t)((rank + 3) - (temp3 + 1))); in ADC_ConfigInjectedChannel()
|
| /bsp/hpmicro/libraries/hpm_sdk/drivers/src/ |
| A D | hpm_i2c_drv.c | 35 int32_t temp1, temp2, temp3; in i2c_configure_timing() local 117 …temp3 = ((timing->t_low - 2 * tpclk) / tpclk / (HPM_I2C_DRV_DEFAULT_TPM + 1) - 2 - timing->t_sp) /… in i2c_configure_timing() 119 timing->t_sclhi = MAX(MAX(temp1, temp2), temp3); in i2c_configure_timing()
|
Completed in 11 milliseconds