Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of stm-spirit1-rf-driver by
Diff: mbed_driver_api.cpp
- Revision:
- 32:e5272bafeeea
- Parent:
- 30:9c6dcfc47619
- Child:
- 33:c226804be492
--- a/mbed_driver_api.cpp Mon Nov 21 09:41:37 2016 +0100
+++ b/mbed_driver_api.cpp Mon Nov 21 10:04:43 2016 +0100
@@ -1,6 +1,7 @@
#include "SimpleSpirit1.h"
#include "nanostack/platform/arm_hal_phy.h"
#include "platform/arm_hal_interrupt.h"
+#include "driverRFPhy.h"
#include "mbed_trace.h"
#define TRACE_GROUP "SPIRIT"
@@ -11,16 +12,6 @@
/* Define beyond macro if you want to use acknowledgment frames with only 3 bytes */
#define SHORT_ACK_FRAMES
-/*Atmel RF Part Type*/
-// betzw - TODO
-typedef enum
-{
- ATMEL_UNKNOW_DEV = 0,
- ATMEL_AT86RF212,
- ATMEL_AT86RF231,
- ATMEL_AT86RF233
-}rf_trx_part_e;
-
static uint8_t mac_address[8] = {
MBED_CONF_SPIRIT1_MAC_ADDRESS_0,
MBED_CONF_SPIRIT1_MAC_ADDRESS_1,
