2013-05-03 14:36:17 +00:00
|
|
|
/*
|
2013-06-15 11:37:22 +00:00
|
|
|
* This file is subject to the terms of the GFX License. If a copy of
|
2013-05-03 14:36:17 +00:00
|
|
|
* the license was not distributed with this file, you can obtain one at:
|
|
|
|
*
|
2013-07-21 20:20:37 +00:00
|
|
|
* http://ugfx.org/license.html
|
2013-05-03 14:36:17 +00:00
|
|
|
*/
|
2013-07-21 15:42:25 +00:00
|
|
|
|
|
|
|
#ifndef _GINPUT_LLD_MOUSE_BOARD_H
|
|
|
|
#define _GINPUT_LLD_MOUSE_BOARD_H
|
|
|
|
|
|
|
|
static inline void init_board(void) {
|
|
|
|
}
|
|
|
|
|
2013-11-25 12:53:11 +00:00
|
|
|
static inline void aquire_bus(void) {
|
2013-07-21 15:42:25 +00:00
|
|
|
}
|
|
|
|
|
2013-11-25 12:53:11 +00:00
|
|
|
static inline void release_bus(void) {
|
|
|
|
}
|
2013-07-21 15:42:25 +00:00
|
|
|
|
2013-11-25 12:53:11 +00:00
|
|
|
static inline void setup_x(void) {
|
2013-07-21 15:42:25 +00:00
|
|
|
}
|
|
|
|
|
2013-11-25 12:53:11 +00:00
|
|
|
static inline void setup_y(void) {
|
|
|
|
}
|
2013-07-21 15:42:25 +00:00
|
|
|
|
2013-11-25 12:53:11 +00:00
|
|
|
static inline void setup_z(void) {
|
|
|
|
palClearPad(GPIOB, GPIOB_DRIVEA);
|
|
|
|
palClearPad(GPIOB, GPIOB_DRIVEB);
|
|
|
|
chThdSleepMilliseconds(2);
|
2013-07-21 15:42:25 +00:00
|
|
|
}
|
|
|
|
|
2013-11-25 12:53:11 +00:00
|
|
|
static inline uint16_t read_x(void) {
|
2013-07-21 15:42:25 +00:00
|
|
|
}
|
|
|
|
|
2013-11-25 12:53:11 +00:00
|
|
|
static inline uint16_t read_y(void) {
|
|
|
|
}
|
2013-07-21 15:42:25 +00:00
|
|
|
|
2013-11-25 12:53:11 +00:00
|
|
|
static inline uint16_t read_z(void) {
|
2013-07-21 15:42:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* _GINPUT_LLD_MOUSE_BOARD_H */
|