Home
last modified time | relevance | path

Searched refs:usartreg (Results 1 – 13 of 13) sorted by relevance

/bsp/wch/arm/Libraries/CH32F10x_StdPeriph_Driver/StdPeriph_Driver/src/
A Dch32f10x_usart.c259 uint32_t usartreg = 0x00, itpos = 0x00, itmask = 0x00; in USART_ITConfig() local
267 usartreg = (((uint8_t)USART_IT) >> 0x05); in USART_ITConfig()
271 if (usartreg == 0x01) in USART_ITConfig()
275 else if (usartreg == 0x02) in USART_ITConfig()
661 uint32_t bitpos = 0x00, itmask = 0x00, usartreg = 0x00; in USART_GetITStatus() local
668 usartreg = (((uint8_t)USART_IT) >> 0x05); in USART_GetITStatus()
672 if (usartreg == 0x01) in USART_GetITStatus()
676 else if (usartreg == 0x02) in USART_GetITStatus()
/bsp/wch/arm/Libraries/CH32F20x_StdPeriph_Driver/StdPeriph_Driver/src/
A Dch32f20x_usart.c258 uint32_t usartreg = 0x00, itpos = 0x00, itmask = 0x00; in USART_ITConfig() local
266 usartreg = (((uint8_t)USART_IT) >> 0x05); in USART_ITConfig()
270 if (usartreg == 0x01) in USART_ITConfig()
274 else if (usartreg == 0x02) in USART_ITConfig()
661 uint32_t bitpos = 0x00, itmask = 0x00, usartreg = 0x00; in USART_GetITStatus() local
668 usartreg = (((uint8_t)USART_IT) >> 0x05); in USART_GetITStatus()
672 if (usartreg == 0x01) in USART_GetITStatus()
676 else if (usartreg == 0x02) in USART_GetITStatus()
/bsp/wch/risc-v/Libraries/CH32V10x_StdPeriph_Driver/StdPeriph_Driver/src/
A Dch32v10x_usart.c284 uint32_t usartreg = 0x00, itpos = 0x00, itmask = 0x00; in USART_ITConfig() local
292 usartreg = (((uint8_t)USART_IT) >> 0x05); in USART_ITConfig()
296 if(usartreg == 0x01) in USART_ITConfig()
300 else if(usartreg == 0x02) in USART_ITConfig()
750 uint32_t bitpos = 0x00, itmask = 0x00, usartreg = 0x00; in USART_GetITStatus() local
757 usartreg = (((uint8_t)USART_IT) >> 0x05); in USART_GetITStatus()
761 if(usartreg == 0x01) in USART_GetITStatus()
765 else if(usartreg == 0x02) in USART_GetITStatus()
/bsp/n32/libraries/N32L43x_Firmware_Library/n32l43x_std_periph_driver/src/
A Dn32l43x_usart.c367 uint32_t usartreg = 0x00, itpos = 0x00, itmask = 0x00; in USART_ConfigInt() local
382 usartreg = (((uint8_t)USART_INT) >> 0x05); in USART_ConfigInt()
388 if (usartreg == 0x01) /* The IT is in CTRL1 register */ in USART_ConfigInt()
392 else if (usartreg == 0x02) /* The IT is in CTRL2 register */ in USART_ConfigInt()
859 uint32_t bitpos = 0x00, itmask = 0x00, usartreg = 0x00; in USART_GetIntStatus() local
871 usartreg = (((uint8_t)USART_INT) >> 0x05); in USART_GetIntStatus()
876 if (usartreg == 0x01) /* The IT is in CTRL1 register */ in USART_GetIntStatus()
880 else if (usartreg == 0x02) /* The IT is in CTRL2 register */ in USART_GetIntStatus()
/bsp/n32/libraries/N32L40x_Firmware_Library/n32l40x_std_periph_driver/src/
A Dn32l40x_usart.c367 uint32_t usartreg = 0x00, itpos = 0x00, itmask = 0x00; in USART_ConfigInt() local
382 usartreg = (((uint8_t)USART_INT) >> 0x05); in USART_ConfigInt()
388 if (usartreg == 0x01) /* The IT is in CTRL1 register */ in USART_ConfigInt()
392 else if (usartreg == 0x02) /* The IT is in CTRL2 register */ in USART_ConfigInt()
859 uint32_t bitpos = 0x00, itmask = 0x00, usartreg = 0x00; in USART_GetIntStatus() local
871 usartreg = (((uint8_t)USART_INT) >> 0x05); in USART_GetIntStatus()
876 if (usartreg == 0x01) /* The IT is in CTRL1 register */ in USART_GetIntStatus()
880 else if (usartreg == 0x02) /* The IT is in CTRL2 register */ in USART_GetIntStatus()
/bsp/n32/libraries/N32G43x_Firmware_Library/n32g43x_std_periph_driver/src/
A Dn32g43x_usart.c367 uint32_t usartreg = 0x00, itpos = 0x00, itmask = 0x00; in USART_ConfigInt() local
382 usartreg = (((uint8_t)USART_INT) >> 0x05); in USART_ConfigInt()
388 if (usartreg == 0x01) /* The IT is in CTRL1 register */ in USART_ConfigInt()
392 else if (usartreg == 0x02) /* The IT is in CTRL2 register */ in USART_ConfigInt()
859 uint32_t bitpos = 0x00, itmask = 0x00, usartreg = 0x00; in USART_GetIntStatus() local
871 usartreg = (((uint8_t)USART_INT) >> 0x05); in USART_GetIntStatus()
876 if (usartreg == 0x01) /* The IT is in CTRL1 register */ in USART_GetIntStatus()
880 else if (usartreg == 0x02) /* The IT is in CTRL2 register */ in USART_GetIntStatus()
/bsp/airm2m/air32f103/libraries/AIR32F10xLib/src/
A Dair32f10x_usart.c370 uint32_t usartreg = 0x00, itpos = 0x00, itmask = 0x00; in USART_ITConfig() local
385 usartreg = (((uint8_t)USART_IT) >> 0x05); in USART_ITConfig()
391 if (usartreg == 0x01) /* The IT is in CR1 register */ in USART_ITConfig()
395 else if (usartreg == 0x02) /* The IT is in CR2 register */ in USART_ITConfig()
936 uint32_t bitpos = 0x00, itmask = 0x00, usartreg = 0x00; in USART_GetITStatus() local
948 usartreg = (((uint8_t)USART_IT) >> 0x05); in USART_GetITStatus()
953 if (usartreg == 0x01) /* The IT is in CR1 register */ in USART_GetITStatus()
957 else if (usartreg == 0x02) /* The IT is in CR2 register */ in USART_GetITStatus()
/bsp/n32/libraries/N32G4FR_Firmware_Library/n32g4fr_std_periph_driver/src/
A Dn32g4fr_usart.c385 uint32_t usartreg = 0x00, itpos = 0x00, itmask = 0x00; in USART_ConfigInt() local
400 usartreg = (((uint8_t)USART_INT) >> 0x05); in USART_ConfigInt()
406 if (usartreg == 0x01) /* The IT is in CTRL1 register */ in USART_ConfigInt()
410 else if (usartreg == 0x02) /* The IT is in CTRL2 register */ in USART_ConfigInt()
877 uint32_t bitpos = 0x00, itmask = 0x00, usartreg = 0x00; in USART_GetIntStatus() local
889 usartreg = (((uint8_t)USART_INT) >> 0x05); in USART_GetIntStatus()
894 if (usartreg == 0x01) /* The IT is in CTRL1 register */ in USART_GetIntStatus()
898 else if (usartreg == 0x02) /* The IT is in CTRL2 register */ in USART_GetIntStatus()
/bsp/n32/libraries/N32G45x_Firmware_Library/n32g45x_std_periph_driver/src/
A Dn32g45x_usart.c385 uint32_t usartreg = 0x00, itpos = 0x00, itmask = 0x00; in USART_ConfigInt() local
400 usartreg = (((uint8_t)USART_INT) >> 0x05); in USART_ConfigInt()
406 if (usartreg == 0x01) /* The IT is in CTRL1 register */ in USART_ConfigInt()
410 else if (usartreg == 0x02) /* The IT is in CTRL2 register */ in USART_ConfigInt()
877 uint32_t bitpos = 0x00, itmask = 0x00, usartreg = 0x00; in USART_GetIntStatus() local
889 usartreg = (((uint8_t)USART_INT) >> 0x05); in USART_GetIntStatus()
894 if (usartreg == 0x01) /* The IT is in CTRL1 register */ in USART_GetIntStatus()
898 else if (usartreg == 0x02) /* The IT is in CTRL2 register */ in USART_GetIntStatus()
/bsp/n32/libraries/N32WB452_Firmware_Library/n32wb452_std_periph_driver/src/
A Dn32wb452_usart.c385 uint32_t usartreg = 0x00, itpos = 0x00, itmask = 0x00; in USART_ConfigInt() local
400 usartreg = (((uint8_t)USART_INT) >> 0x05); in USART_ConfigInt()
406 if (usartreg == 0x01) /* The IT is in CTRL1 register */ in USART_ConfigInt()
410 else if (usartreg == 0x02) /* The IT is in CTRL2 register */ in USART_ConfigInt()
877 uint32_t bitpos = 0x00, itmask = 0x00, usartreg = 0x00; in USART_GetIntStatus() local
889 usartreg = (((uint8_t)USART_INT) >> 0x05); in USART_GetIntStatus()
894 if (usartreg == 0x01) /* The IT is in CTRL1 register */ in USART_GetIntStatus()
898 else if (usartreg == 0x02) /* The IT is in CTRL2 register */ in USART_GetIntStatus()
/bsp/n32g452xx/Libraries/N32_Std_Driver/n32g45x_std_periph_driver/src/
A Dn32g45x_usart.c380 uint32_t usartreg = 0x00, itpos = 0x00, itmask = 0x00; in USART_ConfigInt() local
395 usartreg = (((uint8_t)USART_INT) >> 0x05); in USART_ConfigInt()
401 if (usartreg == 0x01) /* The IT is in CTRL1 register */ in USART_ConfigInt()
405 else if (usartreg == 0x02) /* The IT is in CTRL2 register */ in USART_ConfigInt()
872 uint32_t bitpos = 0x00, itmask = 0x00, usartreg = 0x00; in USART_GetIntStatus() local
884 usartreg = (((uint8_t)USART_INT) >> 0x05); in USART_GetIntStatus()
889 if (usartreg == 0x01) /* The IT is in CTRL1 register */ in USART_GetIntStatus()
893 else if (usartreg == 0x02) /* The IT is in CTRL2 register */ in USART_GetIntStatus()
/bsp/ft32/libraries/FT32F0xx/FT32F0xx_Driver/Src/
A Dft32f0xx_usart.c887 uint32_t usartreg = 0, itpos = 0, itmask = 0; in USART_ITConfig() local
897 usartreg = (((uint16_t)USART_IT) >> 0x08); in USART_ITConfig()
903 if (usartreg == 0x02) /* The IT is in CR2 register */ in USART_ITConfig()
907 else if (usartreg == 0x03) /* The IT is in CR3 register */ in USART_ITConfig()
1091 uint32_t bitpos = 0, itmask = 0, usartreg = 0; in USART_GetITStatus() local
1098 usartreg = (((uint16_t)USART_IT) >> 0x08); in USART_GetITStatus()
1103 if (usartreg == 0x01) /* The IT is in CR1 register */ in USART_GetITStatus()
1107 else if (usartreg == 0x02) /* The IT is in CR2 register */ in USART_GetITStatus()
/bsp/hk32/libraries/HK32F0xx_StdPeriph_Driver/src/
A Dhk32f0xx_usart.c1699 uint32_t usartreg = 0, itpos = 0, itmask = 0; in USART_ITConfig() local
1709 usartreg = (((uint16_t)USART_IT) >> 0x08); in USART_ITConfig()
1715 if (usartreg == 0x02) /* The IT is in CR2 register */ in USART_ITConfig()
1719 else if (usartreg == 0x03) /* The IT is in CR3 register */ in USART_ITConfig()
1908 uint32_t bitpos = 0, itmask = 0, usartreg = 0; in USART_GetITStatus() local
1915 usartreg = (((uint16_t)USART_IT) >> 0x08); in USART_GetITStatus()
1920 if (usartreg == 0x01) /* The IT is in CR1 register */ in USART_GetITStatus()
1924 else if (usartreg == 0x02) /* The IT is in CR2 register */ in USART_GetITStatus()

Completed in 48 milliseconds