52 #include <adi_processor.h> 53 #include <adi_callback.h> 105 #if defined(__ADUCM302x__) 108 #elif defined(__ADUCM4x50__) 110 ADI_TMR_DEVICE_RGB = 3u,
114 #error TMR is not ported for this processor 244 ADI_TMR_RESULT
adi_tmr_Init (ADI_TMR_DEVICE
const eDevice, ADI_CALLBACK
const pfCallback,
void *
const pCBParam,
bool bEnableInt);
252 ADI_TMR_RESULT
adi_tmr_Enable (ADI_TMR_DEVICE
const eDevice,
bool bEnable);
ADI_TMR_PRESCALER ePrescaler
ADI_TMR_PWM_OUTPUT eOutput
ADI_TMR_RESULT adi_tmr_Enable(ADI_TMR_DEVICE const eDevice, bool bEnable)
Enable or Disable the GP or RGB Timer.
ADI_TMR_RESULT adi_tmr_GetCaptureCount(ADI_TMR_DEVICE const eDevice, uint16_t *pCount)
Get GP or RGB Timer Captured Count.
ADI_TMR_RESULT adi_tmr_Init(ADI_TMR_DEVICE const eDevice, ADI_CALLBACK const pfCallback, void *const pCBParam, bool bEnableInt)
Initialize GP or RGB Timer.
ADI_TMR_CLOCK_SOURCE eClockSource
ADI_TMR_RESULT adi_tmr_ConfigPwm(ADI_TMR_DEVICE const eDevice, ADI_TMR_PWM_CONFIG *pwmConfig)
Setup GP or RGB Timer Pulse Width Modulation.
ADI_TMR_RESULT adi_tmr_ConfigTimer(ADI_TMR_DEVICE const eDevice, ADI_TMR_CONFIG *timerConfig)
Configure GP or RGB Timer.
ADI_TMR_RESULT adi_tmr_Reload(ADI_TMR_DEVICE const eDevice)
Reload GP or RGB Timer.
ADI_TMR_RESULT adi_tmr_ConfigEvent(ADI_TMR_DEVICE const eDevice, ADI_TMR_EVENT_CONFIG *eventConfig)
Setup GP or RGB Timer Event Capture.
ADI_TMR_RESULT adi_tmr_GetCurrentCount(ADI_TMR_DEVICE const eDevice, uint16_t *pCount)
Get GP or RGB Timer Current Count.