2 * RPP driver implementation for H-Bridge header file.
6 * @copyright Copyright (C) 2012-2013 Czech Technical University in Prague
9 * @author Carlos Jenkins <carlos@jenkins.co.cr>
19 int8_t drv_hbr_wdg_start();
20 int8_t drv_hbr_wdg_stop();
23 void drv_hbr_set_en(int value);
24 void drv_hbr_set_dir(int direction);
25 int8_t drv_hbr_pwm_set_signal(double period, uint32_t duty);
26 void drv_hbr_pwm_set_duty(uint8_t percent);
27 int8_t drv_hbr_pwm_start();
28 void drv_hbr_pwm_stop();
30 // Extended H-Bridge API
31 uint32_t drv_hbr_pwm_get_duty();
32 double drv_hbr_pwm_get_period();
33 int drv_hbr_get_dir();
37 #endif /* __DRV_HBR_H */