![]() |
G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
|
Functions | |
| __STATIC_INLINE void | DDL_TMR_OC_ConfigOutput (TMR_TypeDef *TMRx, uint32_t Channel, uint32_t Configuration) |
| Configure an output channel. | |
| __STATIC_INLINE void | DDL_TMR_OC_SetMode (TMR_TypeDef *TMRx, uint32_t Channel, uint32_t Mode) |
| Define the behavior of the output reference signal OCxREF from which OCx and OCxN (when relevant) are derived. | |
| __STATIC_INLINE uint32_t | DDL_TMR_OC_GetMode (TMR_TypeDef *TMRx, uint32_t Channel) |
| Get the output compare mode of an output channel. | |
| __STATIC_INLINE void | DDL_TMR_OC_SetPolarity (TMR_TypeDef *TMRx, uint32_t Channel, uint32_t Polarity) |
| Set the polarity of an output channel. | |
| __STATIC_INLINE uint32_t | DDL_TMR_OC_GetPolarity (TMR_TypeDef *TMRx, uint32_t Channel) |
| Get the polarity of an output channel. | |
| __STATIC_INLINE void | DDL_TMR_OC_SetIdleState (TMR_TypeDef *TMRx, uint32_t Channel, uint32_t IdleState) |
| Set the IDLE state of an output channel. | |
| __STATIC_INLINE uint32_t | DDL_TMR_OC_GetIdleState (TMR_TypeDef *TMRx, uint32_t Channel) |
| Get the IDLE state of an output channel. | |
| __STATIC_INLINE void | DDL_TMR_OC_EnableFast (TMR_TypeDef *TMRx, uint32_t Channel) |
| Enable fast mode for the output channel. | |
| __STATIC_INLINE void | DDL_TMR_OC_DisableFast (TMR_TypeDef *TMRx, uint32_t Channel) |
| Disable fast mode for the output channel. | |
| __STATIC_INLINE uint32_t | DDL_TMR_OC_IsEnabledFast (TMR_TypeDef *TMRx, uint32_t Channel) |
| Indicates whether fast mode is enabled for the output channel. | |
| __STATIC_INLINE void | DDL_TMR_OC_EnablePreload (TMR_TypeDef *TMRx, uint32_t Channel) |
| Enable compare register (TMRx_CCx) preload for the output channel. | |
| __STATIC_INLINE void | DDL_TMR_OC_DisablePreload (TMR_TypeDef *TMRx, uint32_t Channel) |
| Disable compare register (TMRx_CCx) preload for the output channel. | |
| __STATIC_INLINE uint32_t | DDL_TMR_OC_IsEnabledPreload (TMR_TypeDef *TMRx, uint32_t Channel) |
| Indicates whether compare register (TMRx_CCx) preload is enabled for the output channel. | |
| __STATIC_INLINE void | DDL_TMR_OC_EnableClear (TMR_TypeDef *TMRx, uint32_t Channel) |
| Enable clearing the output channel on an external event. | |
| __STATIC_INLINE void | DDL_TMR_OC_DisableClear (TMR_TypeDef *TMRx, uint32_t Channel) |
| Disable clearing the output channel on an external event. | |
| __STATIC_INLINE uint32_t | DDL_TMR_OC_IsEnabledClear (TMR_TypeDef *TMRx, uint32_t Channel) |
| Indicates clearing the output channel on an external event is enabled for the output channel. | |
| __STATIC_INLINE void | DDL_TMR_OC_SetDeadTime (TMR_TypeDef *TMRx, uint32_t DeadTime) |
| Set the dead-time delay (delay inserted between the rising edge of the OCxREF signal and the rising edge of the Ocx and OCxN signals). | |
| __STATIC_INLINE void | DDL_TMR_OC_SetCompareCH1 (TMR_TypeDef *TMRx, uint32_t CompareValue) |
| Set compare value for output channel 1 (TMRx_CC1). | |
| __STATIC_INLINE uint32_t | DDL_TMR_OC_GetCompareCH1 (TMR_TypeDef *TMRx) |
| Get compare value (TMRx_CC1) set for output channel 1. | |
| __STATIC_INLINE void | DDL_TMR_OC_SetCompareCH2 (TMR_TypeDef *TMRx, uint32_t CompareValue) |
| Set compare value for output channel 2 (TMRx_CC2). | |
| __STATIC_INLINE uint32_t | DDL_TMR_OC_GetCompareCH2 (TMR_TypeDef *TMRx) |
| Get compare value (TMRx_CC2) set for output channel 2. | |
| __STATIC_INLINE void | DDL_TMR_OC_SetCompareCH3 (TMR_TypeDef *TMRx, uint32_t CompareValue) |
| Set compare value for output channel 3 (TMRx_CC3). | |
| __STATIC_INLINE uint32_t | DDL_TMR_OC_GetCompareCH3 (TMR_TypeDef *TMRx) |
| Get compare value (TMRx_CC3) set for output channel 3. | |
| __STATIC_INLINE void | DDL_TMR_OC_SetCompareCH4 (TMR_TypeDef *TMRx, uint32_t CompareValue) |
| Set compare value for output channel 4 (TMRx_CC4). | |
| __STATIC_INLINE uint32_t | DDL_TMR_OC_GetCompareCH4 (TMR_TypeDef *TMRx) |
| Get compare value (TMRx_CC4) set for output channel 4. | |
| __STATIC_INLINE void DDL_TMR_OC_ConfigOutput | ( | TMR_TypeDef * | TMRx, |
| uint32_t | Channel, | ||
| uint32_t | Configuration ) |
Configure an output channel.
| TMRx | Timer instance |
| Channel | This parameter can be one of the following values: |
| Configuration | This parameter must be a combination of all the following values: |
| None |
Definition at line 1604 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE void DDL_TMR_OC_DisableClear | ( | TMR_TypeDef * | TMRx, |
| uint32_t | Channel ) |
Disable clearing the output channel on an external event.
| TMRx | Timer instance |
| Channel | This parameter can be one of the following values: |
| None |
Definition at line 1894 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE void DDL_TMR_OC_DisableFast | ( | TMR_TypeDef * | TMRx, |
| uint32_t | Channel ) |
Disable fast mode for the output channel.
| TMRx | Timer instance |
| Channel | This parameter can be one of the following values: |
| None |
Definition at line 1785 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE void DDL_TMR_OC_DisablePreload | ( | TMR_TypeDef * | TMRx, |
| uint32_t | Channel ) |
Disable compare register (TMRx_CCx) preload for the output channel.
| TMRx | Timer instance |
| Channel | This parameter can be one of the following values: |
| None |
Definition at line 1837 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE void DDL_TMR_OC_EnableClear | ( | TMR_TypeDef * | TMRx, |
| uint32_t | Channel ) |
Enable clearing the output channel on an external event.
| TMRx | Timer instance |
| Channel | This parameter can be one of the following values: |
| None |
Definition at line 1875 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE void DDL_TMR_OC_EnableFast | ( | TMR_TypeDef * | TMRx, |
| uint32_t | Channel ) |
Enable fast mode for the output channel.
| TMRx | Timer instance |
| Channel | This parameter can be one of the following values: |
| None |
Definition at line 1768 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE void DDL_TMR_OC_EnablePreload | ( | TMR_TypeDef * | TMRx, |
| uint32_t | Channel ) |
Enable compare register (TMRx_CCx) preload for the output channel.
| TMRx | Timer instance |
| Channel | This parameter can be one of the following values: |
| None |
Definition at line 1820 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE uint32_t DDL_TMR_OC_GetCompareCH1 | ( | TMR_TypeDef * | TMRx | ) |
Get compare value (TMRx_CC1) set for output channel 1.
| TMRx | Timer instance |
| CompareValue | (between Min_Data=0 and Max_Data=65535) |
Definition at line 1960 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE uint32_t DDL_TMR_OC_GetCompareCH2 | ( | TMR_TypeDef * | TMRx | ) |
Get compare value (TMRx_CC2) set for output channel 2.
| TMRx | Timer instance |
| CompareValue | (between Min_Data=0 and Max_Data=65535) |
Definition at line 1987 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE uint32_t DDL_TMR_OC_GetCompareCH3 | ( | TMR_TypeDef * | TMRx | ) |
Get compare value (TMRx_CC3) set for output channel 3.
| TMRx | Timer instance |
| CompareValue | (between Min_Data=0 and Max_Data=65535) |
Definition at line 2014 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE uint32_t DDL_TMR_OC_GetCompareCH4 | ( | TMR_TypeDef * | TMRx | ) |
Get compare value (TMRx_CC4) set for output channel 4.
| TMRx | Timer instance |
| CompareValue | (between Min_Data=0 and Max_Data=65535) |
Definition at line 2041 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE uint32_t DDL_TMR_OC_GetIdleState | ( | TMR_TypeDef * | TMRx, |
| uint32_t | Channel ) |
Get the IDLE state of an output channel.
| TMRx | Timer instance |
| Channel | This parameter can be one of the following values: |
| Returned | value can be one of the following values: |
Definition at line 1751 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE uint32_t DDL_TMR_OC_GetMode | ( | TMR_TypeDef * | TMRx, |
| uint32_t | Channel ) |
Get the output compare mode of an output channel.
| TMRx | Timer instance |
| Channel | This parameter can be one of the following values: |
| Returned | value can be one of the following values: |
Definition at line 1660 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE uint32_t DDL_TMR_OC_GetPolarity | ( | TMR_TypeDef * | TMRx, |
| uint32_t | Channel ) |
Get the polarity of an output channel.
| TMRx | Timer instance |
| Channel | This parameter can be one of the following values: |
| Returned | value can be one of the following values: |
Definition at line 1704 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE uint32_t DDL_TMR_OC_IsEnabledClear | ( | TMR_TypeDef * | TMRx, |
| uint32_t | Channel ) |
Indicates clearing the output channel on an external event is enabled for the output channel.
| TMRx | Timer instance |
| Channel | This parameter can be one of the following values: |
| State | of bit (1 or 0). |
Definition at line 1915 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE uint32_t DDL_TMR_OC_IsEnabledFast | ( | TMR_TypeDef * | TMRx, |
| uint32_t | Channel ) |
Indicates whether fast mode is enabled for the output channel.
| TMRx | Timer instance |
| Channel | This parameter can be one of the following values: |
| State | of bit (1 or 0). |
Definition at line 1802 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE uint32_t DDL_TMR_OC_IsEnabledPreload | ( | TMR_TypeDef * | TMRx, |
| uint32_t | Channel ) |
Indicates whether compare register (TMRx_CCx) preload is enabled for the output channel.
| TMRx | Timer instance |
| Channel | This parameter can be one of the following values: |
| State | of bit (1 or 0). |
Definition at line 1854 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE void DDL_TMR_OC_SetCompareCH1 | ( | TMR_TypeDef * | TMRx, |
| uint32_t | CompareValue ) |
Set compare value for output channel 1 (TMRx_CC1).
| TMRx | Timer instance |
| CompareValue | between Min_Data=0 and Max_Data=65535 |
| None |
Definition at line 1947 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE void DDL_TMR_OC_SetCompareCH2 | ( | TMR_TypeDef * | TMRx, |
| uint32_t | CompareValue ) |
Set compare value for output channel 2 (TMRx_CC2).
| TMRx | Timer instance |
| CompareValue | between Min_Data=0 and Max_Data=65535 |
| None |
Definition at line 1974 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE void DDL_TMR_OC_SetCompareCH3 | ( | TMR_TypeDef * | TMRx, |
| uint32_t | CompareValue ) |
Set compare value for output channel 3 (TMRx_CC3).
| TMRx | Timer instance |
| CompareValue | between Min_Data=0 and Max_Data=65535 |
| None |
Definition at line 2001 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE void DDL_TMR_OC_SetCompareCH4 | ( | TMR_TypeDef * | TMRx, |
| uint32_t | CompareValue ) |
Set compare value for output channel 4 (TMRx_CC4).
| TMRx | Timer instance |
| CompareValue | between Min_Data=0 and Max_Data=65535 |
| None |
Definition at line 2028 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE void DDL_TMR_OC_SetDeadTime | ( | TMR_TypeDef * | TMRx, |
| uint32_t | DeadTime ) |
Set the dead-time delay (delay inserted between the rising edge of the OCxREF signal and the rising edge of the Ocx and OCxN signals).
| TMRx | Timer instance |
| DeadTime | between Min_Data=0 and Max_Data=255 |
| None |
Definition at line 1933 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE void DDL_TMR_OC_SetIdleState | ( | TMR_TypeDef * | TMRx, |
| uint32_t | Channel, | ||
| uint32_t | IdleState ) |
Set the IDLE state of an output channel.
| TMRx | Timer instance |
| Channel | This parameter can be one of the following values: |
| IdleState | This parameter can be one of the following values: |
| None |
Definition at line 1730 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE void DDL_TMR_OC_SetMode | ( | TMR_TypeDef * | TMRx, |
| uint32_t | Channel, | ||
| uint32_t | Mode ) |
Define the behavior of the output reference signal OCxREF from which OCx and OCxN (when relevant) are derived.
| TMRx | Timer instance |
| Channel | This parameter can be one of the following values: |
| Mode | This parameter can be one of the following values: |
| None |
Definition at line 1635 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE void DDL_TMR_OC_SetPolarity | ( | TMR_TypeDef * | TMRx, |
| uint32_t | Channel, | ||
| uint32_t | Polarity ) |
Set the polarity of an output channel.
| TMRx | Timer instance |
| Channel | This parameter can be one of the following values: |
| Polarity | This parameter can be one of the following values: |
| None |
Definition at line 1683 of file g32r4xx_ddl_tmr.h.