Microchip® Advanced Software Framework

atmegarfr2/inc/phy.h File Reference
#include <stdint.h>
#include <stdbool.h>

Data Structures

struct  PHY_DataInd_t
 
#define PHY_RSSI_BASE_VAL   (-90)
 
#define PHY_HAS_RANDOM_NUMBER_GENERATOR
 
#define PHY_HAS_AES_MODULE
 
enum  {
  PHY_STATUS_SUCCESS = 0,
  PHY_STATUS_CHANNEL_ACCESS_FAILURE = 1,
  PHY_STATUS_NO_ACK = 2,
  PHY_STATUS_ERROR = 3
}
 
typedef struct PHY_DataInd_t PHY_DataInd_t
 
void PHY_Init (void)
 
void PHY_SetRxState (bool rx)
 
void PHY_SetChannel (uint8_t channel)
 
void PHY_SetBand (uint8_t band)
 
void PHY_SetPanId (uint16_t panId)
 
void PHY_SetShortAddr (uint16_t addr)
 
void PHY_SetTxPower (uint8_t txPower)
 
void PHY_Sleep (void)
 
void PHY_Wakeup (void)
 
void PHY_DataReq (uint8_t *data)
 
void PHY_DataConf (uint8_t status)
 
void PHY_DataInd (PHY_DataInd_t *ind)
 
void PHY_TaskHandler (void)
 
void PHY_SetIEEEAddr (uint8_t *ieee_addr)
 
uint16_t PHY_RandomReq (void)
 
void PHY_EncryptReq (uint8_t *text, uint8_t *key)
 
int8_t PHY_EdReq (void)
 

#define PHY_HAS_AES_MODULE
#define PHY_HAS_RANDOM_NUMBER_GENERATOR
#define PHY_RSSI_BASE_VAL   (-90)

typedef struct PHY_DataInd_t PHY_DataInd_t

anonymous enum
Enumerator
PHY_STATUS_SUCCESS 
PHY_STATUS_CHANNEL_ACCESS_FAILURE 
PHY_STATUS_NO_ACK 
PHY_STATUS_ERROR 

void PHY_DataConf ( uint8_t  status)
void PHY_DataInd ( PHY_DataInd_t ind)
void PHY_DataReq ( uint8_t *  data)
int8_t PHY_EdReq ( void  )
void PHY_EncryptReq ( uint8_t *  text,
uint8_t *  key 
)
void PHY_Init ( void  )
uint16_t PHY_RandomReq ( void  )
void PHY_SetBand ( uint8_t  band)

References phyBand, and phySetChannel().

Referenced by appCommandReceived(), and appInit().

void PHY_SetChannel ( uint8_t  channel)
void PHY_SetIEEEAddr ( uint8_t *  ieee_addr)
void PHY_SetPanId ( uint16_t  panId)
void PHY_SetRxState ( bool  rx)
void PHY_SetShortAddr ( uint16_t  addr)
void PHY_SetTxPower ( uint8_t  txPower)
void PHY_Sleep ( void  )
void PHY_TaskHandler ( void  )
void PHY_Wakeup ( void  )