2013-07-12 12:31:16 +02:00
|
|
|
#ifndef AT86RF231_ARCH_H_
|
|
|
|
#define AT86RF231_ARCH_H_
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
2014-01-24 12:38:37 +01:00
|
|
|
#include "vtimer.h"
|
|
|
|
|
2013-07-12 12:31:16 +02:00
|
|
|
void at86rf231_gpio_spi_interrupts_init(void);
|
|
|
|
|
|
|
|
void at86rf231_reset(void);
|
|
|
|
uint8_t at86rf231_get_status(void);
|
|
|
|
|
|
|
|
void at86rf231_spi_select(void);
|
|
|
|
void at86rf231_spi_unselect(void);
|
|
|
|
|
2014-02-20 03:05:35 +01:00
|
|
|
void at86rf231_spi_transfer(const uint8_t *data_out, uint8_t *data_in, uint16_t length);
|
2013-07-12 12:31:16 +02:00
|
|
|
uint8_t at86rf231_spi_transfer_byte(uint8_t byte);
|
|
|
|
|
|
|
|
void at86rf231_init_interrupts(void);
|
|
|
|
void at86rf231_enable_interrupts(void);
|
|
|
|
void at86rf231_disable_interrupts(void);
|
|
|
|
#endif
|