Adjusted status LED definitions
[LPC2xxx_and_RobotSpejbl.git] / app / minibee / MC1319x.h
blob2938a4f17b1fbd621626926c322b68af080095ef
1 //
2 // Author: Bc. Jiri Kubias <Jiri.kubias@gmail.com>, (C) 2008
3 //
4 // Copyright: (c) DCE FEE CTU - Department of Control Engeneering
5 // License: GNU GPL v.2
6 //
7 /**
8 * @file MC1319x.h
9 * @author Bc. Jiri Kubias , DCE FEL CTU 2008
11 * @brief Function prototypes for MC1319x.c
16 #ifndef MC1319x_H
17 #define MC1319x_H
20 #include "MC1319xdef.h"
23 uint8_t MC_Reset(void); // generate reset on MC1319x
24 uint16_t MC_WhoAmI(void); // returns ID of MC1319x
25 uint8_t MC_ED(void); // measure ED on current channel
26 uint8_t MC_SendPaket(struct Message *msg); // send message wia zigbee
27 uint8_t MC_ReSend(struct Message *msg); // send message wia zigbee
28 uint8_t MC_RecievePaket(struct Message *msg); // Initate recieving packet
29 uint8_t MC_SetClko(uint16_t tick, uint8_t enable); // sets and enables CLKO
30 uint8_t MC_SetPa(uint8_t val); // sets PA level
31 void dummy_wait(); // dummy wait cycle
33 void ext_isr(void) __attribute__ ((interrupt)); ///< protype if ISR function, platform dependent
35 #endif //MC1319x_H