diff options
Diffstat (limited to 'drivers/sensors/adns5050.h')
-rw-r--r-- | drivers/sensors/adns5050.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/sensors/adns5050.h b/drivers/sensors/adns5050.h index ff8e8f78e..5e9edc296 100644 --- a/drivers/sensors/adns5050.h +++ b/drivers/sensors/adns5050.h | |||
@@ -67,13 +67,13 @@ typedef struct { | |||
67 | // A bunch of functions to implement the ADNS5050-specific serial protocol. | 67 | // A bunch of functions to implement the ADNS5050-specific serial protocol. |
68 | // Note that the "serial.h" driver is insufficient, because it does not | 68 | // Note that the "serial.h" driver is insufficient, because it does not |
69 | // manually manipulate a serial clock signal. | 69 | // manually manipulate a serial clock signal. |
70 | void adns_init(void); | 70 | void adns_init(void); |
71 | void adns_sync(void); | 71 | void adns_sync(void); |
72 | uint8_t adns_serial_read(void); | 72 | uint8_t adns_serial_read(void); |
73 | void adns_serial_write(uint8_t data); | 73 | void adns_serial_write(uint8_t data); |
74 | uint8_t adns_read_reg(uint8_t reg_addr); | 74 | uint8_t adns_read_reg(uint8_t reg_addr); |
75 | void adns_write_reg(uint8_t reg_addr, uint8_t data); | 75 | void adns_write_reg(uint8_t reg_addr, uint8_t data); |
76 | report_adns_t adns_read_burst(void); | 76 | report_adns_t adns_read_burst(void); |
77 | int8_t convert_twoscomp(uint8_t data); | 77 | int8_t convert_twoscomp(uint8_t data); |
78 | void adns_set_cpi(uint8_t cpi); | 78 | void adns_set_cpi(uint8_t cpi); |
79 | bool adns_check_signature(void); | 79 | bool adns_check_signature(void); |