![]() |
EVE 1.0
|
Driver for PWM in nRF52. More...
Go to the source code of this file.
Data Structures | |
struct | pwm_state_t |
struct | pwm_channel_config_t |
struct | pwm_t |
Macros | |
#define | PWM_NUM_CHANNELS 4 |
Functions | |
Functions called from application programs | |
void | PwmInit (const struct pwm_t *Pwm) |
Name: PwmInit Initialize PWM. More... | |
void | PwmSet (const struct pwm_t *Pwm, uint8_t Channel, uint16_t Value) |
Name: PwmSet Sets PWM duty cycle for the selected channel. More... | |
void | PwmFrequencySet (const struct pwm_t *Pwm, uint32_t Frequency) |
Name: PwmFrequencySet Sets the PWM frequency. This frequency will be used for all channels on the selected timer. More... | |
void | PwmInterruptHandler (const struct pwm_t *Pwm) |
Name: PwmInterruptHandler PWM interrupt handler Called from board.c at hardware interrupt context. More... | |
Driver for PWM in nRF52.
Definition in file pwm.h.