]> rtime.felk.cvut.cz Git - pes-rpp/rpp-test-sw.git/blob - include/drv_hout.h
ed35797da9c39efe7ae6c43720419034301b6c05
[pes-rpp/rpp-test-sw.git] / include / drv_hout.h
1 /*
2  * hout.h
3  *
4  *  Created on: 22.2.2013
5  *      Author: Michal Horn
6  */
7
8 #ifndef HOUT_H_
9 #define HOUT_H_
10
11 #include "het.h"
12 #include "port_def.h"
13
14 void hout_pwm_set_signal(uint8_t hout_id, double period, uint32_t duty);
15 int hout_pwm_start(uint8_t hout_id);
16 void hout_pwm_stop(uint8_t hout_id);
17 uint32_t hout_pwm_get_duty(uint8_t hout_id);
18 double hout_pwm_get_period(uint8_t hout_id);
19
20
21 #endif /* HOUT_H_ */