DL_Timer_PWMConfig

Module: Driverlib (AM13E230X) APIs / Driverlib TIMER API

Configuration struct for DL_Timer_initPWMMode.

#include <dl_timer.h>

Public Attributes

Name

uint32_t

period

DL_TIMER_PWM_MODE

pwmMode

DL_TIMER

startTimer

Public Attributes Documentation

variable period

uint32_t period;

Specifies the pwm period. The actual value configured to LOAD register depends on the pwmMode selected. When pwmMode = DL_TIMER_PWM_MODE_EDGE_ALIGN, LOAD = (period -1). When pwmMode = DL_TIMER_PWM_MODE_CENTER_ALIGN, LOAD = (period / 2). Actual PWM freq = (Timer_freq/(prescaler * divideRatio * period))

variable pwmMode

DL_TIMER_PWM_MODE pwmMode;

Specifies the PWM Mode. One of DL_TIMER_PWM_MODE

variable startTimer

DL_TIMER startTimer;

Start timer after configuration DL_TIMER