| /bsp/apm32/libraries/APM32E10x_Library/APM32E10x_StdPeriphDriver/src/ |
| A D | apm32e10x_adc.c | 372 uint32_t temp2 = 0; in ADC_ConfigRegularChannel() local 377 temp1 &= ~temp2; in ADC_ConfigRegularChannel() 379 temp1 |= temp2; in ADC_ConfigRegularChannel() 388 temp1 |= temp2; in ADC_ConfigRegularChannel() 398 temp1 |= temp2; in ADC_ConfigRegularChannel() 407 temp1 |= temp2; in ADC_ConfigRegularChannel() 416 temp1 |= temp2; in ADC_ConfigRegularChannel() 688 uint32_t temp2 = 0; in ADC_ConfigInjectedChannel() local 696 temp1 |= temp2; in ADC_ConfigInjectedChannel() 711 temp1 &= ~temp2; in ADC_ConfigInjectedChannel() [all …]
|
| /bsp/apm32/libraries/APM32F10x_Library/APM32F10x_StdPeriphDriver/src/ |
| A D | apm32f10x_adc.c | 373 uint32_t temp2 = 0; in ADC_ConfigRegularChannel() local 378 temp1 &= ~temp2; in ADC_ConfigRegularChannel() 380 temp1 |= temp2; in ADC_ConfigRegularChannel() 389 temp1 |= temp2; in ADC_ConfigRegularChannel() 399 temp1 |= temp2; in ADC_ConfigRegularChannel() 408 temp1 |= temp2; in ADC_ConfigRegularChannel() 417 temp1 |= temp2; in ADC_ConfigRegularChannel() 689 uint32_t temp2 = 0; in ADC_ConfigInjectedChannel() local 697 temp1 |= temp2; in ADC_ConfigInjectedChannel() 712 temp1 &= ~temp2; in ADC_ConfigInjectedChannel() [all …]
|
| /bsp/apm32/libraries/APM32F4xx_Library/APM32F4xx_StdPeriphDriver/src/ |
| A D | apm32f4xx_adc.c | 351 uint32_t temp2 = 0; in ADC_ConfigRegularChannel() local 359 temp1 |= temp2; in ADC_ConfigRegularChannel() 368 temp1 |= temp2; in ADC_ConfigRegularChannel() 378 temp1 |= temp2; in ADC_ConfigRegularChannel() 387 temp1 |= temp2; in ADC_ConfigRegularChannel() 396 temp1 |= temp2; in ADC_ConfigRegularChannel() 661 uint32_t temp2 = 0; in ADC_ConfigInjectedChannel() local 669 temp1 |= temp2; in ADC_ConfigInjectedChannel() 678 temp1 |= temp2; in ADC_ConfigInjectedChannel() 684 temp1 &= ~temp2; in ADC_ConfigInjectedChannel() [all …]
|
| A D | apm32f4xx_dac.c | 69 uint32_t temp1 = 0, temp2 = 0; in DAC_Config() local 75 temp2 = ((uint32_t)dacConfig->trigger | \ in DAC_Config() 80 temp1 |= temp2 << channel; in DAC_Config()
|
| /bsp/apm32/libraries/APM32S10x_Library/APM32S10x_StdPeriphDriver/src/ |
| A D | apm32s10x_adc.c | 368 uint32_t temp2 = 0; in ADC_ConfigRegularChannel() local 375 temp1 |= temp2; in ADC_ConfigRegularChannel() 384 temp1 |= temp2; in ADC_ConfigRegularChannel() 394 temp1 |= temp2; in ADC_ConfigRegularChannel() 403 temp1 |= temp2; in ADC_ConfigRegularChannel() 412 temp1 |= temp2; in ADC_ConfigRegularChannel() 676 uint32_t temp2 = 0; in ADC_ConfigInjectedChannel() local 684 temp1 |= temp2; in ADC_ConfigInjectedChannel() 693 temp1 |= temp2; in ADC_ConfigInjectedChannel() 699 temp1 &= ~temp2; in ADC_ConfigInjectedChannel() [all …]
|
| /bsp/hc32/tests/ |
| A D | test_rtc.c | 79 rt_uint16_t temp1, temp2, temp3; in rtc_sample() local 131 temp2 = ((argv[2][3] - '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() 148 temp2 = ((argv[2][5] - '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/n32/libraries/N32L43x_Firmware_Library/n32l43x_usbfs_driver/src/ |
| A D | usb_mem.c | 48 uint32_t i, temp1, temp2; in USB_CopyUserToPMABuf() local 55 temp2 = temp1 | (uint16_t)*pbUsrBuf << 8; in USB_CopyUserToPMABuf() 56 *pdwVal++ = temp2; in USB_CopyUserToPMABuf()
|
| /bsp/n32/libraries/N32L40x_Firmware_Library/n32l40x_usbfs_driver/src/ |
| A D | usb_mem.c | 48 uint32_t i, temp1, temp2; in USB_CopyUserToPMABuf() local 55 temp2 = temp1 | (uint16_t)*pbUsrBuf << 8; in USB_CopyUserToPMABuf() 56 *pdwVal++ = temp2; in USB_CopyUserToPMABuf()
|
| /bsp/n32/libraries/N32G4FR_Firmware_Library/n32g4fr_usbfs_driver/src/ |
| A D | usb_mem.c | 48 uint32_t i, temp1, temp2; in USB_CopyUserToPMABuf() local 55 temp2 = temp1 | (uint16_t)*pbUsrBuf << 8; in USB_CopyUserToPMABuf() 56 *pdwVal++ = temp2; in USB_CopyUserToPMABuf()
|
| /bsp/n32/libraries/N32G43x_Firmware_Library/n32g43x_usbfs_driver/src/ |
| A D | usb_mem.c | 48 uint32_t i, temp1, temp2; in USB_CopyUserToPMABuf() local 55 temp2 = temp1 | (uint16_t)*pbUsrBuf << 8; in USB_CopyUserToPMABuf() 56 *pdwVal++ = temp2; in USB_CopyUserToPMABuf()
|
| /bsp/n32/libraries/N32G45x_Firmware_Library/n32g45x_usbfs_driver/src/ |
| A D | usb_mem.c | 48 uint32_t i, temp1, temp2; in USB_CopyUserToPMABuf() local 55 temp2 = temp1 | (uint16_t)*pbUsrBuf << 8; in USB_CopyUserToPMABuf() 56 *pdwVal++ = temp2; in USB_CopyUserToPMABuf()
|
| /bsp/n32/libraries/N32WB452_Firmware_Library/n32wb452_usbfs_driver/src/ |
| A D | usb_mem.c | 48 uint32_t i, temp1, temp2; in USB_CopyUserToPMABuf() local 55 temp2 = temp1 | (uint16_t)*pbUsrBuf << 8; in USB_CopyUserToPMABuf() 56 *pdwVal++ = temp2; in USB_CopyUserToPMABuf()
|
| /bsp/n32g452xx/Libraries/N32_Std_Driver/n32g45x_usbfs_driver/src/ |
| A D | usb_mem.c | 48 uint32_t i, temp1, temp2; in USB_CopyUserToPMABuf() local 55 temp2 = temp1 | (uint16_t)*pbUsrBuf << 8; in USB_CopyUserToPMABuf() 56 *pdwVal++ = temp2; in USB_CopyUserToPMABuf()
|
| /bsp/stm32/libraries/STM32L1xx_HAL/STM32L1xx_HAL_Driver/Src/ |
| A D | stm32l1xx_ll_usb.c | 783 uint32_t i, temp1, temp2; in USB_WritePMA() local 793 temp2 = temp1 | ((uint16_t)((uint16_t) *pBuf << 8)); in USB_WritePMA() 794 *pdwVal = (uint16_t)temp2; in USB_WritePMA()
|
| A D | stm32l1xx_hal_smartcard.c | 1781 uint32_t temp1= 0x00U, temp2 = 0x00U; in HAL_SMARTCARD_GetState() local 1783 temp2 = hsc->RxState; in HAL_SMARTCARD_GetState() 1785 return (HAL_SMARTCARD_StateTypeDef)(temp1 | temp2); in HAL_SMARTCARD_GetState()
|
| A D | stm32l1xx_hal_irda.c | 2020 uint32_t temp1 = 0x00U, temp2 = 0x00U; in HAL_IRDA_GetState() local 2022 temp2 = hirda->RxState; in HAL_IRDA_GetState() 2024 return (HAL_IRDA_StateTypeDef)(temp1 | temp2); in HAL_IRDA_GetState()
|
| A D | stm32l1xx_hal_uart.c | 2913 uint32_t temp1 = 0x00U, temp2 = 0x00U; in HAL_UART_GetState() local 2915 temp2 = huart->RxState; in HAL_UART_GetState() 2917 return (HAL_UART_StateTypeDef)(temp1 | temp2); in HAL_UART_GetState()
|
| /bsp/hpmicro/libraries/hpm_sdk/drivers/src/ |
| A D | hpm_i2c_drv.c | 35 int32_t temp1, temp2, temp3; in i2c_configure_timing() local 112 …temp2 = (period / (1 + timing->t_sclratio) - 2 * tpclk) / tpclk / (HPM_I2C_DRV_DEFAULT_TPM + 1) - … in i2c_configure_timing() 119 timing->t_sclhi = MAX(MAX(temp1, temp2), temp3); in i2c_configure_timing()
|