ADuCM4x50 Device Drivers API Reference Manual  Release 4.0.0.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 153 of file adi_tmr.h.

Field Documentation

◆ bCountingUp

bool bCountingUp

True to count up, false to count down

Definition at line 155 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 157 of file adi_tmr.h.

Referenced by adi_tmr_ConfigTimer().

◆ ePrescaler

ADI_TMR_PRESCALER ePrescaler

Prescaler

Definition at line 159 of file adi_tmr.h.

Referenced by adi_tmr_ConfigTimer().

◆ eClockSource

ADI_TMR_CLOCK_SOURCE eClockSource

Clock source

Definition at line 161 of file adi_tmr.h.

Referenced by adi_tmr_ConfigTimer().

◆ nLoad

uint16_t nLoad

Load value (only relevant in periodic mode)

Definition at line 163 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 165 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 167 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 169 of file adi_tmr.h.

Referenced by adi_tmr_ConfigTimer().