ADuCM302x Device Drivers API Reference Manual  Release 3.1.2.0
ADI_TMR_CONFIG Struct Reference

#include <adi_tmr.h>

Data Fields

bool bCountingUp
 
bool bPeriodic
 
ADI_TMR_PRESCALER ePrescaler
 
ADI_TMR_CLOCK_SOURCE eClockSource
 
uint16_t nLoad
 
uint16_t nAsyncLoad
 
bool bReloading
 
bool bSyncBypass
 

Detailed Description

Configuration structure to fill and pass to adi_tmr_ConfigTimer when configuring the GP or RGB timer

Definition at line 186 of file adi_tmr.h.

Field Documentation

◆ bCountingUp

bool bCountingUp

True to count up, false to count down

Definition at line 188 of file adi_tmr.h.

Referenced by adi_tmr_ConfigTimer().

◆ bPeriodic

bool bPeriodic

True for periodic (specific load value), false for free running (0xFFFF)

Definition at line 190 of file adi_tmr.h.

Referenced by adi_tmr_ConfigTimer().

◆ ePrescaler

ADI_TMR_PRESCALER ePrescaler

Prescaler

Definition at line 192 of file adi_tmr.h.

Referenced by adi_tmr_ConfigTimer().

◆ eClockSource

ADI_TMR_CLOCK_SOURCE eClockSource

Clock source

Definition at line 194 of file adi_tmr.h.

Referenced by adi_tmr_ConfigTimer().

◆ nLoad

uint16_t nLoad

Load value (only relevant in periodic mode)

Definition at line 196 of file adi_tmr.h.

Referenced by adi_tmr_ConfigTimer().

◆ nAsyncLoad

uint16_t nAsyncLoad

Asynchronous load value (only relevant in periodic mode, and when PCLK is used)

Definition at line 198 of file adi_tmr.h.

Referenced by adi_tmr_ConfigTimer().

◆ bReloading

bool bReloading

True to enable reloading, false to disable it (only relevant in periodic mode)

Definition at line 200 of file adi_tmr.h.

Referenced by adi_tmr_ConfigTimer().

◆ bSyncBypass

bool bSyncBypass

True to enable sync bypass, false to disable it

Definition at line 202 of file adi_tmr.h.

Referenced by adi_tmr_ConfigTimer().