Files | |
file | tr1001-gcr.c |
Device driver and packet framing for the RFM-TR1001 radio module. | |
file | tr1001.c |
Device driver and packet framing for the RFM-TR1001 radio module. | |
Functions | |
void | tr1001_set_txpower (unsigned char p) |
Set the transmission power of the transceiver. | |
int | tr1001_init (void) |
Initialize the radio transceiver. | |
Variables | |
struct radio_driver | tr1001_driver |
Radio driver for TR1001. | |
struct radio_driver | tr1001_driver |
Radio driver for TR1001. |
int tr1001_init | ( | void | ) |
void tr1001_set_txpower | ( | unsigned char | p | ) |
Set the transmission power of the transceiver.
The sensor board is equipped with a DS1804 100 position trimmer potentiometer which is used to set the transmission input current to the radio transceiver chip, thus setting the transmission power of the radio transceiver.
This function sets the trimmer potentiometer to a value between 1 and 100.
p | The power of the transceiver, between 1 (lowest) and 100 (highest). |
Definition at line 320 of file tr1001.c.
Referenced by tr1001_init().