2 // Author: Bc. Jiri Kubias <Jiri.kubias@gmail.com>, (C) 2008
4 // Copyright: (c) DCE FEE CTU - Department of Control Engeneering
5 // License: GNU GPL v.2
9 * @author Bc. Jiri Kubias , DCE FEL CTU 2008
11 * @brief Function prototypes for MC1319x.c
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