/**
 * led_pwm.h: led pwm configuration prototypes
 * 2014 true
 *
 * ----
 *
 * $Id: led_pwm.h 327 2015-02-18 04:43:42Z true $
 *
**/

#ifndef __PIRATE_LED_PWM_H
#define __PIRATE_LED_PWM_H



#define LED_PWM_CH1 	0x01
#define LED_PWM_CH2 	0x02
#define LED_PWM_CH3 	0x04
#define LED_PWM_CH4 	0x08


/* prototypes */
void led_pwm_init_all();
void led_pwm_set_oc(TIM_TypeDef *timer, uint32_t *oc);



#endif
