![]() |
G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
|
Functions | |
| __STATIC_INLINE void | DDL_USART_EnableIrda (USART_TypeDef *USARTx) |
| Enable IrDA mode. | |
| __STATIC_INLINE void | DDL_USART_DisableIrda (USART_TypeDef *USARTx) |
| Disable IrDA mode. | |
| __STATIC_INLINE uint32_t | DDL_USART_IsEnabledIrda (USART_TypeDef *USARTx) |
| Indicate if IrDA mode is enabled. | |
| __STATIC_INLINE void | DDL_USART_SetIrdaPowerMode (USART_TypeDef *USARTx, uint32_t PowerMode) |
| Configure IrDA Power Mode (Normal or Low Power). | |
| __STATIC_INLINE uint32_t | DDL_USART_GetIrdaPowerMode (USART_TypeDef *USARTx) |
| Retrieve IrDA Power Mode configuration (Normal or Low Power). | |
| __STATIC_INLINE void | DDL_USART_SetIrdaPrescaler (USART_TypeDef *USARTx, uint32_t PrescalerValue) |
| Set Irda prescaler value, used for dividing the USART clock source to achieve the Irda Low Power frequency (8 bits value). | |
| __STATIC_INLINE uint32_t | DDL_USART_GetIrdaPrescaler (USART_TypeDef *USARTx) |
| Return Irda prescaler value, used for dividing the USART clock source to achieve the Irda Low Power frequency (8 bits value). | |
| __STATIC_INLINE void DDL_USART_DisableIrda | ( | USART_TypeDef * | USARTx | ) |
Disable IrDA mode.
| USARTx | USART Instance |
| None |
Definition at line 1160 of file g32r4xx_ddl_usart.h.
| __STATIC_INLINE void DDL_USART_EnableIrda | ( | USART_TypeDef * | USARTx | ) |
Enable IrDA mode.
| USARTx | USART Instance |
| None |
Definition at line 1148 of file g32r4xx_ddl_usart.h.
| __STATIC_INLINE uint32_t DDL_USART_GetIrdaPowerMode | ( | USART_TypeDef * | USARTx | ) |
Retrieve IrDA Power Mode configuration (Normal or Low Power).
| USARTx | USART Instance |
| Returned | value can be one of the following values: |
Definition at line 1201 of file g32r4xx_ddl_usart.h.
| __STATIC_INLINE uint32_t DDL_USART_GetIrdaPrescaler | ( | USART_TypeDef * | USARTx | ) |
Return Irda prescaler value, used for dividing the USART clock source to achieve the Irda Low Power frequency (8 bits value).
| USARTx | USART Instance |
| Irda | prescaler value (Value between Min_Data=0x00 and Max_Data=0xFF) |
Definition at line 1228 of file g32r4xx_ddl_usart.h.
| __STATIC_INLINE uint32_t DDL_USART_IsEnabledIrda | ( | USART_TypeDef * | USARTx | ) |
Indicate if IrDA mode is enabled.
| USARTx | USART Instance |
| State | of bit (1 or 0). |
Definition at line 1172 of file g32r4xx_ddl_usart.h.
| __STATIC_INLINE void DDL_USART_SetIrdaPowerMode | ( | USART_TypeDef * | USARTx, |
| uint32_t | PowerMode ) |
Configure IrDA Power Mode (Normal or Low Power).
| USARTx | USART Instance |
| PowerMode | This parameter can be one of the following values: |
| None |
Definition at line 1187 of file g32r4xx_ddl_usart.h.
| __STATIC_INLINE void DDL_USART_SetIrdaPrescaler | ( | USART_TypeDef * | USARTx, |
| uint32_t | PrescalerValue ) |
Set Irda prescaler value, used for dividing the USART clock source to achieve the Irda Low Power frequency (8 bits value).
| USARTx | USART Instance |
| PrescalerValue | Value between Min_Data=0x00 and Max_Data=0xFF |
| None |
Definition at line 1215 of file g32r4xx_ddl_usart.h.