ADuCM302x Device Drivers API Reference Manual  Release 3.1.2.0
ADI_TMR_PWM_CONFIG Struct Reference

#include <adi_tmr.h>

Data Fields

ADI_TMR_PWM_OUTPUT eOutput
 
bool bMatch
 
bool bIdleHigh
 
uint16_t nMatchValue
 

Detailed Description

Configuration structure to fill and pass to adi_tmr_ConfigPwm when configuring pulse width modulation output

Definition at line 226 of file adi_tmr.h.

Field Documentation

◆ eOutput

PWM output

Definition at line 228 of file adi_tmr.h.

Referenced by adi_tmr_ConfigPwm().

◆ bMatch

bool bMatch

True if match mode (configurable duty cycle), false if toggle mode (50% duty cycle)

Definition at line 230 of file adi_tmr.h.

Referenced by adi_tmr_ConfigPwm().

◆ bIdleHigh

bool bIdleHigh

True for PWM idle high, false for PWM idle low

Definition at line 232 of file adi_tmr.h.

Referenced by adi_tmr_ConfigPwm().

◆ nMatchValue

uint16_t nMatchValue

Match value, only applicable if in match mode

Definition at line 234 of file adi_tmr.h.

Referenced by adi_tmr_ConfigPwm().