![]() |
G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
|
Functions | |
| ErrorStatus | DDL_TMR_DeInit (TMR_TypeDef *TMRx) |
| Set TMRx registers to their reset values. | |
| void | DDL_TMR_StructInit (DDL_TMR_InitTypeDef *TMR_InitStruct) |
| Set the fields of the time base unit configuration data structure to their default values. | |
| ErrorStatus | DDL_TMR_Init (TMR_TypeDef *TMRx, DDL_TMR_InitTypeDef *TMR_InitStruct) |
| Configure the TMRx time base unit. | |
| void | DDL_TMR_OC_StructInit (DDL_TMR_OC_InitTypeDef *TMR_OC_InitStruct) |
| Set the fields of the TMRx output channel configuration data structure to their default values. | |
| ErrorStatus | DDL_TMR_OC_Init (TMR_TypeDef *TMRx, uint32_t Channel, DDL_TMR_OC_InitTypeDef *TMR_OC_InitStruct) |
| Configure the TMRx output channel. | |
| void | DDL_TMR_IC_StructInit (DDL_TMR_IC_InitTypeDef *TMR_ICInitStruct) |
| Set the fields of the TMRx input channel configuration data structure to their default values. | |
| ErrorStatus | DDL_TMR_IC_Init (TMR_TypeDef *TMRx, uint32_t Channel, DDL_TMR_IC_InitTypeDef *TMR_IC_InitStruct) |
| Configure the TMRx input channel. | |
| void | DDL_TMR_ENCODER_StructInit (DDL_TMR_ENCODER_InitTypeDef *TMR_EncoderInitStruct) |
| Fills each TMR_EncoderInitStruct field with its default value. | |
| ErrorStatus | DDL_TMR_ENCODER_Init (TMR_TypeDef *TMRx, DDL_TMR_ENCODER_InitTypeDef *TMR_EncoderInitStruct) |
| Configure the encoder interface of the timer instance. | |
| void | DDL_TMR_HALLSENSOR_StructInit (DDL_TMR_HALLSENSOR_InitTypeDef *TMR_HallSensorInitStruct) |
| Set the fields of the TMRx Hall sensor interface configuration data structure to their default values. | |
| ErrorStatus | DDL_TMR_HALLSENSOR_Init (TMR_TypeDef *TMRx, DDL_TMR_HALLSENSOR_InitTypeDef *TMR_HallSensorInitStruct) |
| Configure the Hall sensor interface of the timer instance. | |
| void | DDL_TMR_BDT_StructInit (DDL_TMR_BDT_InitTypeDef *TMR_BDTInitStruct) |
| Set the fields of the Break and Dead Time configuration data structure to their default values. | |
| ErrorStatus | DDL_TMR_BDT_Init (TMR_TypeDef *TMRx, DDL_TMR_BDT_InitTypeDef *TMR_BDTInitStruct) |
| Configure the Break and Dead Time feature of the timer instance. | |
| ErrorStatus DDL_TMR_BDT_Init | ( | TMR_TypeDef * | TMRx, |
| DDL_TMR_BDT_InitTypeDef * | TMR_BDTInitStruct ) |
Configure the Break and Dead Time feature of the timer instance.
| TMRx | Timer Instance |
| TMR_BDTInitStruct | pointer to a DDL_TMR_BDT_InitTypeDef structure (Break and Dead Time configuration data structure) |
| An | ErrorStatus enumeration value:
|
Definition at line 648 of file g32r4xx_ddl_tmr.c.
| void DDL_TMR_BDT_StructInit | ( | DDL_TMR_BDT_InitTypeDef * | TMR_BDTInitStruct | ) |
Set the fields of the Break and Dead Time configuration data structure to their default values.
| TMR_BDTInitStruct | pointer to a DDL_TMR_BDT_InitTypeDef structure (Break and Dead Time configuration data structure) |
| None |
Definition at line 622 of file g32r4xx_ddl_tmr.c.
| ErrorStatus DDL_TMR_DeInit | ( | TMR_TypeDef * | TMRx | ) |
Set TMRx registers to their reset values.
| TMRx | Timer instance |
| An | ErrorStatus enumeration value:
|
Definition at line 193 of file g32r4xx_ddl_tmr.c.
| ErrorStatus DDL_TMR_ENCODER_Init | ( | TMR_TypeDef * | TMRx, |
| DDL_TMR_ENCODER_InitTypeDef * | TMR_EncoderInitStruct ) |
Configure the encoder interface of the timer instance.
| TMRx | Timer Instance |
| TMR_EncoderInitStruct | pointer to a DDL_TMR_ENCODER_InitTypeDef structure (TMRx encoder interface configuration data structure) |
| An | ErrorStatus enumeration value:
|
Definition at line 450 of file g32r4xx_ddl_tmr.c.
| void DDL_TMR_ENCODER_StructInit | ( | DDL_TMR_ENCODER_InitTypeDef * | TMR_EncoderInitStruct | ) |
Fills each TMR_EncoderInitStruct field with its default value.
| TMR_EncoderInitStruct | pointer to a DDL_TMR_ENCODER_InitTypeDef structure (encoder interface configuration data structure) |
| None |
Definition at line 427 of file g32r4xx_ddl_tmr.c.
| ErrorStatus DDL_TMR_HALLSENSOR_Init | ( | TMR_TypeDef * | TMRx, |
| DDL_TMR_HALLSENSOR_InitTypeDef * | TMR_HallSensorInitStruct ) |
Configure the Hall sensor interface of the timer instance.
| TMRx | Timer Instance |
| TMR_HallSensorInitStruct | pointer to a DDL_TMR_HALLSENSOR_InitTypeDef structure (TMRx DALL sensor interface configuration data structure) |
| An | ErrorStatus enumeration value:
|
Definition at line 543 of file g32r4xx_ddl_tmr.c.
| void DDL_TMR_HALLSENSOR_StructInit | ( | DDL_TMR_HALLSENSOR_InitTypeDef * | TMR_HallSensorInitStruct | ) |
Set the fields of the TMRx Hall sensor interface configuration data structure to their default values.
| TMR_HallSensorInitStruct | pointer to a DDL_TMR_HALLSENSOR_InitTypeDef structure (HALL sensor interface configuration data structure) |
| None |
Definition at line 513 of file g32r4xx_ddl_tmr.c.
| ErrorStatus DDL_TMR_IC_Init | ( | TMR_TypeDef * | TMRx, |
| uint32_t | Channel, | ||
| DDL_TMR_IC_InitTypeDef * | TMR_IC_InitStruct ) |
Configure the TMRx input channel.
| TMRx | Timer Instance |
| Channel | This parameter can be one of the following values: |
| TMR_IC_InitStruct | pointer to a DDL_TMR_IC_InitTypeDef structure (TMRx input channel configuration data structure) |
| An | ErrorStatus enumeration value:
|
Definition at line 396 of file g32r4xx_ddl_tmr.c.
| void DDL_TMR_IC_StructInit | ( | DDL_TMR_IC_InitTypeDef * | TMR_ICInitStruct | ) |
Set the fields of the TMRx input channel configuration data structure to their default values.
| TMR_ICInitStruct | pointer to a DDL_TMR_IC_InitTypeDef structure (the input channel configuration data structure) |
| None |
Definition at line 373 of file g32r4xx_ddl_tmr.c.
| ErrorStatus DDL_TMR_Init | ( | TMR_TypeDef * | TMRx, |
| DDL_TMR_InitTypeDef * | TMR_InitStruct ) |
Configure the TMRx time base unit.
| TMRx | Timer Instance |
| TMR_InitStruct | pointer to a DDL_TMR_InitTypeDef structure (TMRx time base unit configuration data structure) |
| An | ErrorStatus enumeration value:
|
Definition at line 262 of file g32r4xx_ddl_tmr.c.
| ErrorStatus DDL_TMR_OC_Init | ( | TMR_TypeDef * | TMRx, |
| uint32_t | Channel, | ||
| DDL_TMR_OC_InitTypeDef * | TMR_OC_InitStruct ) |
Configure the TMRx output channel.
| TMRx | Timer Instance |
| Channel | This parameter can be one of the following values: |
| TMR_OC_InitStruct | pointer to a DDL_TMR_OC_InitTypeDef structure (TMRx output channel configuration data structure) |
| An | ErrorStatus enumeration value:
|
Definition at line 341 of file g32r4xx_ddl_tmr.c.
| void DDL_TMR_OC_StructInit | ( | DDL_TMR_OC_InitTypeDef * | TMR_OC_InitStruct | ) |
Set the fields of the TMRx output channel configuration data structure to their default values.
| TMR_OC_InitStruct | pointer to a DDL_TMR_OC_InitTypeDef structure (the output channel configuration data structure) |
| None |
Definition at line 314 of file g32r4xx_ddl_tmr.c.
| void DDL_TMR_StructInit | ( | DDL_TMR_InitTypeDef * | TMR_InitStruct | ) |
Set the fields of the time base unit configuration data structure to their default values.
| TMR_InitStruct | pointer to a DDL_TMR_InitTypeDef structure (time base unit configuration data structure) |
| None |
Definition at line 243 of file g32r4xx_ddl_tmr.c.