Microchip® Advanced Software Framework

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

Data Structures

struct  PHY_DataInd_t
 
#define PHY_RSSI_BASE_VAL_BPSK_20   (-100)
 
#define PHY_RSSI_BASE_VAL_BPSK_40   (-99)
 
#define PHY_RSSI_BASE_VAL_OQPSK_SIN_RC_100   (-98)
 
#define PHY_RSSI_BASE_VAL_OQPSK_SIN_250   (-98)
 
#define PHY_RSSI_BASE_VAL_OQPSK_RC_250   (-97)
 
#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_SetModulation (uint8_t modulation)
 
void PHY_SetPanId (uint16_t panId)
 
void PHY_SetShortAddr (uint16_t addr)
 
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)
 

#define PHY_HAS_AES_MODULE
#define PHY_HAS_RANDOM_NUMBER_GENERATOR
#define PHY_RSSI_BASE_VAL_BPSK_20   (-100)

Referenced by phyRssiBaseVal().

#define PHY_RSSI_BASE_VAL_BPSK_40   (-99)

Referenced by phyRssiBaseVal().

#define PHY_RSSI_BASE_VAL_OQPSK_RC_250   (-97)

Referenced by phyRssiBaseVal().

#define PHY_RSSI_BASE_VAL_OQPSK_SIN_250   (-98)

Referenced by phyRssiBaseVal().

#define PHY_RSSI_BASE_VAL_OQPSK_SIN_RC_100   (-98)

Referenced by phyRssiBaseVal().

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)
void PHY_EncryptReq ( uint8_t *  text,
uint8_t *  key 
)
void PHY_Init ( void  )
uint16_t PHY_RandomReq ( void  )
void PHY_SetBand ( uint8_t  band)
void PHY_SetChannel ( uint8_t  channel)
void PHY_SetIEEEAddr ( uint8_t *  ieee_addr)
void PHY_SetModulation ( uint8_t  modulation)
void PHY_SetPanId ( uint16_t  panId)
void PHY_SetRxState ( bool  rx)
void PHY_SetShortAddr ( uint16_t  addr)
void PHY_Sleep ( void  )
void PHY_TaskHandler ( void  )
void PHY_Wakeup ( void  )