![]() |
G32R430 Device Driver Layer v1.0.4
G32R4xx Device Driver Layer API Reference
|
Functions | |
| __STATIC_INLINE void | DDL_TMR_IC_Config (TMR_TypeDef *TMRx, uint32_t Channel, uint32_t Configuration) |
| Configure input channel. | |
| __STATIC_INLINE void | DDL_TMR_IC_SetActiveInput (TMR_TypeDef *TMRx, uint32_t Channel, uint32_t ICActiveInput) |
| Set the active input. | |
| __STATIC_INLINE uint32_t | DDL_TMR_IC_GetActiveInput (TMR_TypeDef *TMRx, uint32_t Channel) |
| Get the current active input. | |
| __STATIC_INLINE void | DDL_TMR_IC_SetPrescaler (TMR_TypeDef *TMRx, uint32_t Channel, uint32_t ICPrescaler) |
| Set the prescaler of input channel. | |
| __STATIC_INLINE uint32_t | DDL_TMR_IC_GetPrescaler (TMR_TypeDef *TMRx, uint32_t Channel) |
| Get the current prescaler value acting on an input channel. | |
| __STATIC_INLINE void | DDL_TMR_IC_SetFilter (TMR_TypeDef *TMRx, uint32_t Channel, uint32_t ICFilter) |
| Set the input filter duration. | |
| __STATIC_INLINE uint32_t | DDL_TMR_IC_GetFilter (TMR_TypeDef *TMRx, uint32_t Channel) |
| Get the input filter duration. | |
| __STATIC_INLINE void | DDL_TMR_IC_SetPolarity (TMR_TypeDef *TMRx, uint32_t Channel, uint32_t ICPolarity) |
| Set the input channel polarity. | |
| __STATIC_INLINE uint32_t | DDL_TMR_IC_GetPolarity (TMR_TypeDef *TMRx, uint32_t Channel) |
| Get the current input channel polarity. | |
| __STATIC_INLINE void | DDL_TMR_IC_EnableXORCombination (TMR_TypeDef *TMRx) |
| Connect the TMRx_CH1, CH2 and CH3 pins to the TI1 input (XOR combination). | |
| __STATIC_INLINE void | DDL_TMR_IC_DisableXORCombination (TMR_TypeDef *TMRx) |
| Disconnect the TMRx_CH1, CH2 and CH3 pins from the TI1 input. | |
| __STATIC_INLINE uint32_t | DDL_TMR_IC_IsEnabledXORCombination (TMR_TypeDef *TMRx) |
| Indicates whether the TMRx_CH1, CH2 and CH3 pins are connectected to the TI1 input. | |
| __STATIC_INLINE uint32_t | DDL_TMR_IC_GetCaptureCH1 (TMR_TypeDef *TMRx) |
| Get captured value for input channel 1. | |
| __STATIC_INLINE uint32_t | DDL_TMR_IC_GetCaptureCH2 (TMR_TypeDef *TMRx) |
| Get captured value for input channel 2. | |
| __STATIC_INLINE uint32_t | DDL_TMR_IC_GetCaptureCH3 (TMR_TypeDef *TMRx) |
| Get captured value for input channel 3. | |
| __STATIC_INLINE uint32_t | DDL_TMR_IC_GetCaptureCH4 (TMR_TypeDef *TMRx) |
| Get captured value for input channel 4. | |
| __STATIC_INLINE void DDL_TMR_IC_Config | ( | TMR_TypeDef * | TMRx, |
| uint32_t | Channel, | ||
| uint32_t | Configuration ) |
Configure input 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 2068 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE void DDL_TMR_IC_DisableXORCombination | ( | TMR_TypeDef * | TMRx | ) |
Disconnect the TMRx_CH1, CH2 and CH3 pins from the TI1 input.
| TMRx | Timer instance |
| None |
Definition at line 2290 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE void DDL_TMR_IC_EnableXORCombination | ( | TMR_TypeDef * | TMRx | ) |
Connect the TMRx_CH1, CH2 and CH3 pins to the TI1 input (XOR combination).
| TMRx | Timer instance |
| None |
Definition at line 2278 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE uint32_t DDL_TMR_IC_GetActiveInput | ( | TMR_TypeDef * | TMRx, |
| uint32_t | Channel ) |
Get the current active input.
| 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 2113 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE uint32_t DDL_TMR_IC_GetCaptureCH1 | ( | TMR_TypeDef * | TMRx | ) |
Get captured value for input channel 1.
| TMRx | Timer instance |
| CapturedValue | (between Min_Data=0 and Max_Data=65535) |
Definition at line 2315 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE uint32_t DDL_TMR_IC_GetCaptureCH2 | ( | TMR_TypeDef * | TMRx | ) |
Get captured value for input channel 2.
| TMRx | Timer instance |
| CapturedValue | (between Min_Data=0 and Max_Data=65535) |
Definition at line 2328 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE uint32_t DDL_TMR_IC_GetCaptureCH3 | ( | TMR_TypeDef * | TMRx | ) |
Get captured value for input channel 3.
| TMRx | Timer instance |
| CapturedValue | (between Min_Data=0 and Max_Data=65535) |
Definition at line 2341 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE uint32_t DDL_TMR_IC_GetCaptureCH4 | ( | TMR_TypeDef * | TMRx | ) |
Get captured value for input channel 4.
| TMRx | Timer instance |
| CapturedValue | (between Min_Data=0 and Max_Data=65535) |
Definition at line 2354 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE uint32_t DDL_TMR_IC_GetFilter | ( | TMR_TypeDef * | TMRx, |
| uint32_t | Channel ) |
Get the input filter duration.
| TMRx | Timer instance |
| Channel | This parameter can be one of the following values: |
Definition at line 2223 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE uint32_t DDL_TMR_IC_GetPolarity | ( | TMR_TypeDef * | TMRx, |
| uint32_t | Channel ) |
Get the current input channel polarity.
| 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 2264 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE uint32_t DDL_TMR_IC_GetPrescaler | ( | TMR_TypeDef * | TMRx, |
| uint32_t | Channel ) |
Get the current prescaler value acting on an input 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 2156 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE uint32_t DDL_TMR_IC_IsEnabledXORCombination | ( | TMR_TypeDef * | TMRx | ) |
Indicates whether the TMRx_CH1, CH2 and CH3 pins are connectected to the TI1 input.
| TMRx | Timer instance |
| State | of bit (1 or 0). |
Definition at line 2302 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE void DDL_TMR_IC_SetActiveInput | ( | TMR_TypeDef * | TMRx, |
| uint32_t | Channel, | ||
| uint32_t | ICActiveInput ) |
Set the active input.
| TMRx | Timer instance |
| Channel | This parameter can be one of the following values: |
| ICActiveInput | This parameter can be one of the following values: |
| None |
Definition at line 2093 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE void DDL_TMR_IC_SetFilter | ( | TMR_TypeDef * | TMRx, |
| uint32_t | Channel, | ||
| uint32_t | ICFilter ) |
Set the input filter duration.
| TMRx | Timer instance |
| Channel | This parameter can be one of the following values: |
| ICFilter | This parameter can be one of the following values:
|
| None |
Definition at line 2190 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE void DDL_TMR_IC_SetPolarity | ( | TMR_TypeDef * | TMRx, |
| uint32_t | Channel, | ||
| uint32_t | ICPolarity ) |
Set the input channel polarity.
| TMRx | Timer instance |
| Channel | This parameter can be one of the following values: |
| ICPolarity | This parameter can be one of the following values: |
| None |
Definition at line 2244 of file g32r4xx_ddl_tmr.h.
| __STATIC_INLINE void DDL_TMR_IC_SetPrescaler | ( | TMR_TypeDef * | TMRx, |
| uint32_t | Channel, | ||
| uint32_t | ICPrescaler ) |
Set the prescaler of input channel.
| TMRx | Timer instance |
| Channel | This parameter can be one of the following values: |
| ICPrescaler | This parameter can be one of the following values: |
| None |
Definition at line 2135 of file g32r4xx_ddl_tmr.h.