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