ezradio_comm.c File Reference

This file contains the EZRadio communication layer.

License

Copyright 2018 Silicon Laboratories Inc. www.silabs.com

The licensor of this software is Silicon Laboratories Inc. Your use of this software is governed by the terms of Silicon Labs Master Software License Agreement (MSLA) available at www.silabs.com/about-us/legal/master-software-license-agreement. This software is distributed to you in Source Code format and is governed by the sections of the MSLA applicable to Source Code.

Definition in file ezradio_comm.c .

#include <stdint.h>
#include <stdarg.h>
#include " em_gpio.h "
#include " gpiointerrupt.h "
#include " ustimer.h "
#include "ezradiodrv_config.h"
#include " ezradio_hal.h "
#include " ezradio_comm.h "

Functions

void ezradio_comm_ClearCTS ()
uint8_t ezradio_comm_GetResp (uint8_t byteCount, uint8_t *pData)
uint8_t ezradio_comm_PollCTS (void)
void ezradio_comm_ReadData (uint8_t cmd, uint8_t pollCts, uint8_t byteCount, uint8_t *pData)
void ezradio_comm_SendCmd (uint8_t byteCount, uint8_t *pData)
uint8_t ezradio_comm_SendCmdGetResp (uint8_t cmdByteCount, uint8_t *pCmdData, uint8_t respByteCount, uint8_t *pRespData)
void ezradio_comm_WriteData (uint8_t cmd, uint8_t pollCts, uint8_t byteCount, uint8_t *pData)

Variables

uint8_t ezradio_comm_CtsWentHigh = 0