Main Page
Classes
Files
File List
File Members
src
user_hooks.h
Go to the documentation of this file.
1
/*
2
* This file can be used to define custom register addresses
3
* Just use addresses 100 and above
4
*/
5
6
void
userSetup
()
7
{
8
// do any setup here
9
}
10
11
unsigned
char
userWrite
(
int
addr,
unsigned
char
param)
12
{
13
// use the register value
14
return
ERR_INSTRUCTION;
15
}
16
17
/* Read one byte from register located at addr */
18
int
userRead
(
int
addr)
19
{
20
// return the register value
21
return
0;
22
}
userSetup
void userSetup()
Definition:
user_hooks.h:6
userRead
int userRead(int addr)
Definition:
user_hooks.h:18
userWrite
unsigned char userWrite(int addr, unsigned char param)
Definition:
user_hooks.h:11
arbotix_firmware
Author(s): Michael Ferguson
autogenerated on Mon Jun 10 2019 12:43:32