Added some config/init time options.

This commit is contained in:
Pkarc 2011-12-17 14:23:38 -05:00
parent e5957bc117
commit 22973b801b
1 changed files with 15 additions and 1 deletions

View File

@ -205,6 +205,20 @@ class Mrf24j
int rx_datalength(void); int rx_datalength(void);
void set_ignoreBytes(int ib);
/**
* Set bufPHY flag to buffer all bytes in PHY Payload, or not
*/
void set_bufferPHY(boolean bp);
boolean get_bufferPHY(void);
/**
* Set PA/LNA external control
*/
void set_palna(boolean enabled);
void send16(word dest16, char * data); void send16(word dest16, char * data);
void interrupt_handler(void); void interrupt_handler(void);