22 lines
604 B
C
22 lines
604 B
C
#ifndef PWM_H_SEEN
|
|
#define PWM_H_SEEN
|
|
|
|
#include <stdint.h>
|
|
#include "event.h"
|
|
|
|
/* *********************************************************************** */
|
|
|
|
#define EVENT_NUM_PWM_CH0 0x00
|
|
#define EVENT_NUM_PWM_CH1 0x01
|
|
#define EVENT_NUM_PWM_CH2 0x02
|
|
|
|
/* *********************************************************************** */
|
|
|
|
void pwm_init (void);
|
|
void pwm_event_handler (event_entry_t * p_event);
|
|
uint8_t pwm_need_hw_clock (void);
|
|
|
|
/* *********************************************************************** */
|
|
|
|
#endif /* PWM_H_SEEN */
|