You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

21 lines
604 B

#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 */