include/pwmdrive.h
Go to the documentation of this file.
00001 #ifndef _USER_PWMDRIVE_H_
00002 #define _USER_PWMDRIVE_H_
00003 
00004 #include "../lib/pwmdrive_common.h"
00005
00017 uint8_t pwmdrive_go_cm(uint8_t dir, uint8_t cm, uint8_t *cm_driven);
00018
00032 uint8_t pwmdrive_go_until(uint8_t dir, uint8_t (*test_function)(void *), void *params, uint8_t *cm_driven);
00033
00043 uint8_t pwmdrive_turn_deg10(uint8_t dir, uint8_t deg10);
00044
00056 uint8_t pwmdrive_turn_until(uint8_t dir, uint8_t (*test_function)(void *), void *params);
00057
00067 uint8_t has_data_pwm(void *unused);
00070 #endif // _USER_PWMDRIVE_H_