1 /* VHN2SP30 H-bridge control */
8 #define VHN_EN_A (1<<16) /* P1.16 = GPIO1 = GPIO port 2 */
9 #define VHN_EN_B (1<<17) /* P1.17 = GPIO2 = GPIO port 1 */
10 #define VHN_IN_A (1<<18) /* P1.18 = GPIO3 = GPIO port 4 */
11 #define VHN_IN_B (1<<19) /* P1.19 = GPIO4 = GPIO port 3 */
16 void vhn_speed(uint8_t speed, uint8_t dir);