Contiki-NG
|
Header file for the CC13xx/CC26xx RF core driver. More...
#include "contiki.h"
#include "driverlib/rf_common_cmd.h"
#include <stdint.h>
#include <stdbool.h>
Go to the source code of this file.
Data Structures | |
struct | rf_core_primary_mode_s |
A data strcuture representing the radio's primary mode of operation. More... | |
Typedefs | |
typedef struct rf_core_primary_mode_s | rf_core_primary_mode_t |
A data strcuture representing the radio's primary mode of operation. More... | |
Functions | |
uint8_t | rf_core_is_accessible (void) |
Check whether the RF core is accessible. More... | |
uint_fast8_t | rf_core_send_cmd (uint32_t cmd, uint32_t *status) |
Sends a command to the RF core. More... | |
uint_fast8_t | rf_core_wait_cmd_done (void *cmd) |
Block and wait for a Radio op to complete. More... | |
int | rf_core_power_up (void) |
Turn on power to the RFC and boot it. More... | |
void | rf_core_power_down (void) |
Disable RFCORE clock domain in the MCU VD and turn off the RFCORE PD. | |
uint8_t | rf_core_set_modesel (void) |
Initialise RF APIs in the RF core. More... | |
uint8_t | rf_core_start_rat (void) |
Start the CM0 RAT. More... | |
uint8_t | rf_core_stop_rat (void) |
Stop the CM0 RAT synchronously. More... | |
uint8_t | rf_core_restart_rat (void) |
Restart the CM0 RAT. More... | |
uint8_t | rf_core_boot (void) |
Boot the RF Core. More... | |
void | rf_core_setup_interrupts (void) |
Setup RF core interrupts. | |
void | rf_core_cmd_done_en (bool fg) |
Enable interrupt on command done. More... | |
void | rf_core_cmd_done_dis (void) |
Disable the LAST_CMD_DONE and LAST_FG_CMD_DONE interrupts. More... | |
rfc_radioOp_t * | rf_core_get_last_radio_op (void) |
Returns a pointer to the most recent proto-dependent Radio Op. More... | |
void | rf_core_init_radio_op (rfc_radioOp_t *buf, uint16_t len, uint16_t command) |
Prepare a buffer to host a Radio Op. More... | |
void | rf_core_primary_mode_register (const rf_core_primary_mode_t *mode) |
Register a primary mode for radio operation. More... | |
void | rf_core_primary_mode_abort (void) |
Abort the currently running primary radio op. | |
uint8_t | rf_core_primary_mode_restore (void) |
Abort the currently running primary radio op. | |
uint8_t | rf_core_rat_init (void) |
Initialize the RAT to RTC conversion machinery. | |
uint8_t | rf_core_check_rat_overflow (void) |
Check if RAT overflow has occured and increment the overflow counter if so. | |
uint32_t | rf_core_convert_rat_to_rtimer (uint32_t rat_timestamp) |
Convert from RAT timestamp to rtimer ticks. | |
Header file for the CC13xx/CC26xx RF core driver.
Definition in file rf-core.h.