rf230bb.h File Reference

This file contains radio driver code. More...

#include <stdint.h>
#include <stdbool.h>
#include "hal.h"
#include "at86rf230_registermap.h"

Go to the source code of this file.

Defines

#define RF230_MAX_TX_FRAME_LENGTH   ( 127 )
 127 Byte PSDU.
#define RADIO_STATUS_START_VALUE   ( 0x40 )
 This macro defines the start value for the RADIO_* status constants.
Transaction status codes



#define TRAC_SUCCESS   0
#define TRAC_SUCCESS_DATA_PENDING   1
#define TRAC_SUCCESS_WAIT_FOR_ACK   2
#define TRAC_CHANNEL_ACCESS_FAILURE   3
#define TRAC_NO_ACK   5
#define TRAC_INVALID   7

Enumerations

enum  radio_status_t {
  RADIO_SUCCESS = RADIO_STATUS_START_VALUE, RADIO_UNSUPPORTED_DEVICE, RADIO_INVALID_ARGUMENT, RADIO_TIMED_OUT,
  RADIO_WRONG_STATE, RADIO_BUSY_STATE, RADIO_STATE_TRANSITION_FAILED, RADIO_CCA_IDLE,
  RADIO_CCA_BUSY, RADIO_TRX_BUSY, RADIO_BAT_LOW, RADIO_BAT_OK,
  RADIO_CRC_FAILED, RADIO_CHANNEL_ACCESS_FAILURE, RADIO_NO_ACK, RADIO_SUCCESS = RADIO_STATUS_START_VALUE,
  RADIO_UNSUPPORTED_DEVICE, RADIO_INVALID_ARGUMENT, RADIO_TIMED_OUT, RADIO_WRONG_STATE,
  RADIO_BUSY_STATE, RADIO_STATE_TRANSITION_FAILED, RADIO_CCA_IDLE, RADIO_CCA_BUSY,
  RADIO_TRX_BUSY, RADIO_BAT_LOW, RADIO_BAT_OK, RADIO_CRC_FAILED,
  RADIO_CHANNEL_ACCESS_FAILURE, RADIO_NO_ACK
}
 

This enumeration defines the possible return values for the TAT API functions.

More...
enum  radio_cca_mode_t {
  CCA_ED = 0, CCA_CARRIER_SENSE = 1, CCA_CARRIER_SENSE_WITH_ED = 2, CCA_ENERGY_DETECT = 0,
  CCA_CARRIER_SENSE = 1, CCA_CARRIER_SENSE_WITH_ED = 2
}
 

This enumeration defines the possible modes available for the Clear Channel Assessment algorithm.

More...
enum  radio_clkm_speed_t
 

This enumeration defines the possible CLKM speeds.

More...

Detailed Description

This file contains radio driver code.

Id
rf230bb.h,v 1.6 2010/12/15 16:50:44 dak664 Exp

Definition in file rf230bb.h.


Generated on Mon Apr 11 14:23:49 2011 for Contiki 2.5 by  doxygen 1.6.1