This file contains low-level radio driver code. More...
#include <stdlib.h>
#include "hal.h"
#include "at86rf230_registermap.h"
#include "contiki-mulle.h"
Go to the source code of this file.
Defines | |
#define | HAL_SPI_TRANSFER_OPEN() |
This function is called when a rx_start interrupt is signaled. | |
#define | HAL_RF230_ISR() M16C_INTERRUPT(M16C_INT1) |
This function initializes the Hardware Abstraction Layer. | |
Functions | |
void | hal_init (void) |
This function initializes the Hardware Abstraction Layer. | |
uint8_t | hal_register_read (uint8_t address) |
This function reads data from one of the radio transceiver's registers. | |
void | hal_register_write (uint8_t address, uint8_t value) |
This function writes a new value to one of the radio transceiver's registers. | |
uint8_t | hal_subregister_read (uint8_t address, uint8_t mask, uint8_t position) |
This function reads the value of a specific subregister. | |
void | hal_subregister_write (uint8_t address, uint8_t mask, uint8_t position, uint8_t value) |
This function writes a new value to one of the radio transceiver's subregisters. | |
void | hal_frame_read (hal_rx_frame_t *rx_frame) |
This function will upload a frame from the radio transceiver's frame buffer. | |
void | hal_frame_write (uint8_t *write_buffer, uint8_t length) |
This function will download a frame to the radio transceiver's frame buffer. | |
void | RADIO_VECT (void) |
ISR for the radio IRQ line, triggered by the input capture. | |
void | TIMER1_OVF_vect (void) |
Timer Overflow ISR This is the interrupt service routine for timer1 overflow. |
This file contains low-level radio driver code.
This version is optimized for use with the "barebones" RF230bb driver, which communicates directly with the contiki core MAC layer. It is optimized for speed at the expense of generality.
Definition in file halbb.c.