ezradio_hal.c File Reference

This file contains EZRadio HAL.

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_hal.c .

#include <stdlib.h>
#include <stdint.h>
#include " em_gpio.h "
#include " em_prs.h "
#include " spidrv.h "
#include " gpiointerrupt.h "
#include "ezradiodrv_config.h"
#include " ezradio_hal.h "

Functions

void ezradio_hal_AssertShutdown (void)
void ezradio_hal_ClearNsel (void)
void ezradio_hal_DeassertShutdown (void)
void ezradio_hal_GpioInit ( GPIOINT_IrqCallbackPtr_t ezradioIrqCallback, bool enablePTI)
uint8_t ezradio_hal_NirqLevel (void)
void ezradio_hal_SetNsel (void)
void ezradio_hal_SpiInit (void)
void ezradio_hal_SpiReadByte (uint8_t *readByte)
void ezradio_hal_SpiReadData (uint8_t byteCount, uint8_t *pData)
void ezradio_hal_SpiWriteByte (uint8_t byteToWrite)
void ezradio_hal_SpiWriteData (uint8_t byteCount, uint8_t *pData)
void ezradio_hal_SpiWriteReadData (uint8_t byteCount, uint8_t *txData, uint8_t *rxData)