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

Field Documentation

◆ eOutput

PWM output

Definition at line 195 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 197 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 199 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 201 of file adi_tmr.h.

Referenced by adi_tmr_ConfigPwm().