New version of spejbl motor software
[LPC2xxx_and_RobotSpejbl.git] / app / spejbl_motor / hbridge.h
blob816d66f59f4a65d088c1468d7a7979b41c6000b8
1 /****************************************/
2 /* H-bridge control function */
3 /****************************************/
5 #include <types.h>
6 #include <lpc21xx.h>
7 #include "constants.h"
9 /* H-bridge set */
10 void hbridge_half_set(uint8_t side, uint32_t value);
11 /* H-bridge set */
12 void hbridge_set(int32_t value);
13 /* Switch off H-bridge */
14 void hbridge_off();
15 /* Init H-bridge */
16 void hbridge_init();