센서보드 RF IRQ 테스트 중
Fork of stm-spirit1-rf-driver by
Diff: stm-spirit1-rf-driver/SimpleSpirit1.h
- Revision:
- 82:a18c22d2b83a
- Parent:
- 74:7672516efa2a
- Child:
- 83:54b207156a91
diff -r b16caa776548 -r a18c22d2b83a stm-spirit1-rf-driver/SimpleSpirit1.h --- a/stm-spirit1-rf-driver/SimpleSpirit1.h Fri Feb 02 09:57:17 2018 +0100 +++ b/stm-spirit1-rf-driver/SimpleSpirit1.h Fri Feb 02 14:13:24 2018 +0100 @@ -442,14 +442,7 @@ return *_singleton; } - /** Create singleton instance of 'SimpleSpirit1' - * - * @param mosi 'PinName' of mosi pin to use - * @param miso 'PinName' of miso pin to use - * @param sclk 'PinName' of clock pin to use - * @param irq 'PinName' of interrupt pin to use - * @param cs 'PinName' of chip-select pin pin to use - * @param sdn 'PinName' of pin to use for device shutdown + /** Get singleton instance of 'SimpleSpirit1' * * @returns reference to singleton instance */ @@ -476,6 +469,7 @@ /** Switch Radio On */ int on(void); + /** Switch Radio Off */ int off(void); @@ -509,9 +503,9 @@ */ int read(void *buf, unsigned int bufsize); - /** Perform a Clear-Channel Assessment (CCA) to find out if there is a packet in the air or not. + /** Perform a Clear-Channel Assessment (CCA) to find out whether the medium is idle or not. * - * @returns 1 if packet has been seen. + * @returns 1 if the medium is busy. */ int channel_clear(void);