Added some config/init time options.
This commit is contained in:
parent
e5957bc117
commit
22973b801b
16
mrf24j.h
16
mrf24j.h
|
@ -205,6 +205,20 @@ class Mrf24j
|
|||
|
||||
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 interrupt_handler(void);
|
||||
|
@ -217,4 +231,4 @@ class Mrf24j
|
|||
int _pin_int;
|
||||
};
|
||||
|
||||
#endif /* LIB_MRF24J_H */
|
||||
#endif /* LIB_MRF24J_H */
|
||||
|
|
Loading…
Reference in New Issue