Functions | |
UInt8 | ccai_a_sys_reset_req () |
Reset Request. More... | |
UInt8 | ccai_s_sys_version () |
Version request. More... | |
UInt8 | ccai_s_sys_osal_nv_read (UInt16 id, UInt8 offset) |
Read memory request. More... | |
UInt8 | ccai_s_sys_osal_nv_write (UInt16 id, UInt8 offset, UInt8 len, char *pBuf) |
Write memory request. More... | |
UInt8 | ccai_s_sys_osal_start_timer (UInt8 id, UInt16 timeout) |
Timer start request. More... | |
UInt8 | ccai_s_sys_osal_stop_timer (UInt8 id) |
Stop timer request. More... | |
UInt8 | ccai_s_sys_random () |
Random request. More... | |
UInt8 | ccai_s_sys_adc_read (UInt8 channel, UInt8 resolution) |
Read ADC request. More... | |
UInt8 | ccai_s_sys_gpio (UInt8 operation, UInt8 value) |
GPIO access request. More... | |
UInt8 | ccai_a_sys_test_rf (UInt8 testMode, UInt16 frequency, UInt8 txPower) |
RF test configuration. More... | |
UInt8 | ccai_s_sys_test_loopback (UInt8 len, char *pBuf) |
Loopback test request. More... | |
UInt8 ccai_a_sys_reset_req | ( | ) |
Reset Request.
Request CC2480 to reset (software reset).
Definition at line 852 of file cc2480ai.c.
References spi_reqBegin(), spi_reqData(), and spi_reqEnd().
UInt8 ccai_a_sys_test_rf | ( | UInt8 | testMode, |
UInt16 | frequency, | ||
UInt8 | txPower | ||
) |
RF test configuration.
Configure the CC2480 RF test modes.
[in] | testMode | Type of test mode to configure the CC2480 device. |
[in] | frequency | Frequency of operation. |
[in] | txPower | RF transmit power only for transmitting modes. |
Definition at line 1166 of file cc2480ai.c.
References spi_reqBegin(), spi_reqData(), and spi_reqEnd().
UInt8 ccai_s_sys_adc_read | ( | UInt8 | channel, |
UInt8 | resolution | ||
) |
Read ADC request.
Request to read from CC2480 ADC.
[in] | channel | Selects the channel of the ADC (determine inputs). |
[in] | resolution | Resolution, in bits, of the ADC. |
Definition at line 1099 of file cc2480ai.c.
References spi_reqBegin(), spi_reqData(), and spi_reqEnd().
UInt8 ccai_s_sys_gpio | ( | UInt8 | operation, |
UInt8 | value | ||
) |
GPIO access request.
Command to access the CC2480 GPIO.
[in] | operation | Operation on the GPIO. |
[in] | value | Bit positions that receives the command. |
Definition at line 1132 of file cc2480ai.c.
References spi_reqBegin(), spi_reqData(), and spi_reqEnd().
UInt8 ccai_s_sys_osal_nv_read | ( | UInt16 | id, |
UInt8 | offset | ||
) |
Read memory request.
Request to read CC2480 NV Memory.
[in] | id | Attribute id of the NV item. |
[in] | offset | Offset in bytes from the beginning or the NV value. |
Definition at line 923 of file cc2480ai.c.
References spi_reqBegin(), spi_reqData(), and spi_reqEnd().
UInt8 ccai_s_sys_osal_nv_write | ( | UInt16 | id, |
UInt8 | offset, | ||
UInt8 | len, | ||
char * | pBuf | ||
) |
Write memory request.
Request to write CC2480 NV memory.
[in] | id | Attribute id of the NV item. |
[in] | offset | Offset in bytes from the beginning or the NV value. |
[in] | len | length of the NV value. |
[in] | pBuf | pointer to the data to write. |
Definition at line 958 of file cc2480ai.c.
References spi_reqBegin(), spi_reqData(), and spi_reqEnd().
UInt8 ccai_s_sys_osal_start_timer | ( | UInt8 | id, |
UInt16 | timeout | ||
) |
Timer start request.
Request to start a software timer.
[in] | id | Id of the timer event, (0-3). |
[in] | timeout | Amount of time (ms) to the event expire. |
Definition at line 996 of file cc2480ai.c.
References spi_reqBegin(), spi_reqData(), and spi_reqEnd().
UInt8 ccai_s_sys_osal_stop_timer | ( | UInt8 | id | ) |
Stop timer request.
Request to stop a previously scheduled software timer.
[in] | id | Id of the timer event, (0-3). |
Definition at line 1028 of file cc2480ai.c.
References spi_reqBegin(), spi_reqData(), and spi_reqEnd().
UInt8 ccai_s_sys_random | ( | ) |
Random request.
Request to read a 16 bit random number.
Definition at line 1068 of file cc2480ai.c.
References spi_reqBegin(), and spi_reqEnd().
UInt8 ccai_s_sys_test_loopback | ( | UInt8 | len, |
char * | pBuf | ||
) |
Loopback test request.
Request to test the physical interface, SPI or UART.
[in] | len | Length of the data to use on test. |
[in] | pBuf | Pointer to the data to use on test. |
Definition at line 1189 of file cc2480ai.c.
References spi_reqBegin(), spi_reqData(), and spi_reqEnd().
UInt8 ccai_s_sys_version | ( | ) |
Version request.
Request software version information.
Definition at line 892 of file cc2480ai.c.
References spi_reqBegin(), and spi_reqEnd().