EVE 1.0

#include <pwm.h>

Collaboration diagram for pwm_t:

Data Fields

uint32_t IrqPriority
 HW IRQ priority (see enum EVE_IRQ_PRIORITIES)
 
nrf_pwm_clk_t BaseClock
 Base PWM clock.
 
uint32_t DefaultFrequency
 TOP_Value = BaseClock / Frequency - 1.
 
uint16_t Range
 PWM counts from 0 to Range.
 
struct pwm_channel_config_t ChannelConfig [PWM_NUM_CHANNELS]
 Channel config.
 
nrf_pwm_mode_t Mode
 Edge- or center-aligned mode.
 

Detailed Description

pwm_t structure is used for configuration of PWM. The structure must be initialized before the PWM driver may be used.

Definition at line 114 of file pwm.h.