embedded-software
reusable software modules for embedded systems
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
thief_brainframe.h
Go to the documentation of this file.
1 #ifndef _THIEF_BRAINFRAME_H_
2 #define _THIEF_BRAINFRAME_H_
3 
4 #include <stdint.h>
5 
21 void Thief_Arm(uint8_t difficulty, uint8_t address);
22 
28 void Thief_Disarm(uint8_t difficulty, uint8_t address);
29 
35 void Thief_Difficulty(uint8_t difficulty, uint8_t address);
36 
48 void Thief_BrainframeInit(void(*ChipEnable)(uint8_t), void(*ChipSelectNot)(uint8_t),
49  void(*Trip)(uint8_t, uint8_t), void(*Access)(uint8_t, uint8_t));
50 
53 #endif // _THIEF_BRAINFRAME_H_
void Thief_Disarm(uint8_t difficulty, uint8_t address)
send DISARM message over network to a theif node
Definition: thief_brainframe.c:38
void Thief_Difficulty(uint8_t difficulty, uint8_t address)
send DIFFICULTY message over network to a theif node
Definition: thief_brainframe.c:52
void Thief_BrainframeInit(void(*ChipEnable)(uint8_t), void(*ChipSelectNot)(uint8_t), void(*Trip)(uint8_t, uint8_t), void(*Access)(uint8_t, uint8_t))
initialize the nRF24 Network module for the Thief Brainframe and set callbacks
Definition: thief_brainframe.c:66
void Thief_Arm(uint8_t difficulty, uint8_t address)
send ARM message over network to a theif node
Definition: thief_brainframe.c:24