dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pios_sys.h
Go to the documentation of this file.
1 
16 /*
17  * This program is free software; you can redistribute it and/or modify
18  * it under the terms of the GNU General Public License as published by
19  * the Free Software Foundation; either version 3 of the License, or
20  * (at your option) any later version.
21  *
22  * This program is distributed in the hope that it will be useful, but
23  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
24  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
25  * for more details.
26  *
27  * You should have received a copy of the GNU General Public License along
28  * with this program; if not, see <http://www.gnu.org/licenses/>
29  */
30 
31 #ifndef PIOS_SYS_H
32 #define PIOS_SYS_H
33 
34 #define PIOS_SYS_SERIAL_NUM_BINARY_LEN 12
35 #define PIOS_SYS_SERIAL_NUM_ASCII_LEN (PIOS_SYS_SERIAL_NUM_BINARY_LEN * 2)
36 
37 /* Public Functions */
38 extern void PIOS_SYS_Init(void);
39 extern int32_t PIOS_SYS_Reset(void);
42 extern size_t PIOS_SYS_IrqStackUnused(void);
43 extern size_t PIOS_SYS_OsStackUnused(void);
44 
45 extern void PIOS_SYS_Args(int argc, char *argv[]);
46 
47 #endif /* PIOS_SYS_H */
48 
#define PIOS_SYS_SERIAL_NUM_BINARY_LEN
Definition: pios_sys.h:34
void PIOS_SYS_Init(void)
#define PIOS_SYS_SERIAL_NUM_ASCII_LEN
Definition: pios_sys.h:35
int32_t PIOS_SYS_Reset(void)
size_t PIOS_SYS_OsStackUnused(void)
int32_t PIOS_SYS_SerialNumberGet(char str[PIOS_SYS_SERIAL_NUM_ASCII_LEN+1])
size_t PIOS_SYS_IrqStackUnused(void)
void PIOS_SYS_Args(int argc, char *argv[])
int32_t PIOS_SYS_SerialNumberGetBinary(uint8_t array[PIOS_SYS_SERIAL_NUM_BINARY_LEN])