EFR32 Mighty Gecko 1 Software Documentation  efr32mg1-doc-5.1.2
ezradio_api_lib.h File Reference

Detailed Description

This file contains the common API library of the EZRadio and EZRadioPRO families.

Note
The ezradiodrv API is not settled entirely in the current relase.
Version
5.1.2

License

(C) Copyright 2015 Silicon Labs, http://www.silabs.com

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

  1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software.
  2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
  3. This notice may not be removed or altered from any source distribution.

DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Labs has no obligation to support this Software. Silicon Labs is providing the Software "AS IS", with no express or implied warranties of any kind, including, but not limited to, any implied warranties of merchantability or fitness for any particular purpose or warranties against infringement of any proprietary rights of a third party.

Silicon Labs will not be liable for any consequential, incidental, or special damages, or any other relief, or for any claim by any third party, arising from your use of this Software.

Definition in file ezradio_api_lib.h.

Go to the source code of this file.

Enumerations

enum  EZRADIO_ConfigRet_t {
  EZRADIO_CONFIG_SUCCESS,
  EZRADIO_CONFIG_NO_PATCH,
  EZRADIO_CONFIG_CTS_TIMEOUT,
  EZRADIO_CONFIG_PATCH_FAIL,
  EZRADIO_CONFIG_COMMAND_ERROR
}
 

Functions

void ezradio_change_state (uint8_t next_state1)
 
void ezradio_fifo_info (uint8_t fifo, ezradio_cmd_reply_t *ezradioReply)
 
void ezradio_fifo_info_fast_read (ezradio_cmd_reply_t *ezradioReply)
 
void ezradio_fifo_info_fast_reset (uint8_t fifo)
 
void ezradio_frr_a_read (uint8_t respByteCount, ezradio_cmd_reply_t *ezradioReply)
 
void ezradio_frr_b_read (uint8_t respByteCount, ezradio_cmd_reply_t *ezradioReply)
 
void ezradio_frr_c_read (uint8_t respByteCount, ezradio_cmd_reply_t *ezradioReply)
 
void ezradio_frr_d_read (uint8_t respByteCount, ezradio_cmd_reply_t *ezradioReply)
 
void ezradio_func_info (ezradio_cmd_reply_t *ezradioReply)
 
void ezradio_get_chip_status (uint8_t chip_clr_pend, ezradio_cmd_reply_t *ezradioReply)
 
void ezradio_get_chip_status_fast_clear (void)
 
void ezradio_get_chip_status_fast_clear_read (ezradio_cmd_reply_t *ezradioReply)
 
void ezradio_get_int_status (uint8_t ph_clr_pend, uint8_t modem_clr_pend, uint8_t chip_clr_pend, ezradio_cmd_reply_t *ezradioReply)
 
void ezradio_get_int_status_fast_clear (void)
 
void ezradio_get_int_status_fast_clear_read (ezradio_cmd_reply_t *ezradioReply)
 
void ezradio_get_modem_status (uint8_t modem_clr_pend, ezradio_cmd_reply_t *ezradioReply)
 
void ezradio_get_modem_status_fast_clear (void)
 
void ezradio_get_modem_status_fast_clear_read (ezradio_cmd_reply_t *ezradioReply)
 
void ezradio_get_packet_info (uint8_t field_number_mask, uint16_t len, int16_t diff_len, ezradio_cmd_reply_t *ezradioReply)
 
void ezradio_get_ph_status (uint8_t ph_clr_pend, ezradio_cmd_reply_t *ezradioReply)
 
void ezradio_get_ph_status_fast_clear (void)
 
void ezradio_get_ph_status_fast_clear_read (ezradio_cmd_reply_t *ezradioReply)
 
void ezradio_get_property (uint8_t group, uint8_t num_props, uint8_t start_prop, ezradio_cmd_reply_t *ezradioReply)
 
void ezradio_gpio_pin_cfg (uint8_t gpio0, uint8_t gpio1, uint8_t gpio2, uint8_t gpio3, uint8_t nirq, uint8_t sdo, uint8_t gen_config, ezradio_cmd_reply_t *ezradioReply)
 
void ezradio_gpio_pin_cfg_fast (ezradio_cmd_reply_t *ezradioReply)
 
void ezradio_nop (void)
 
void ezradio_part_info (ezradio_cmd_reply_t *ezradioReply)
 
void ezradio_power_up (uint8_t boot_options, uint8_t xtal_options, uint32_t xo_freq)
 
void ezradio_read_cmd_buff (ezradio_cmd_reply_t *ezradioReply)
 
void ezradio_read_rx_fifo (uint8_t numbytes, uint8_t *prxdata)
 
void ezradio_request_device_state (ezradio_cmd_reply_t *ezradioReply)
 
void ezradio_reset (void)
 
void ezradio_set_property (uint8_t group, uint8_t num_props, uint8_t start_prop,...)
 
void ezradio_start_rx (uint8_t channel, uint8_t condition, uint16_t rx_len, uint8_t next_state1, uint8_t next_state2, uint8_t next_state3)
 
void ezradio_start_rx_fast (void)
 
void ezradio_start_tx (uint8_t channel, uint8_t condition, uint16_t tx_len)
 
void ezradio_start_tx_fast (void)
 
void ezradio_write_tx_fifo (uint8_t numbytes, uint8_t *pdata)