|
Contiki 3.x
|
Implementation of the CC13xx/CC26xx RF core driver. More...
#include "contiki-conf.h"#include "dev/watchdog.h"#include "sys/process.h"#include "sys/energest.h"#include "sys/cc.h"#include "net/netstack.h"#include "net/packetbuf.h"#include "net/rime/rimestats.h"#include "rf-core/rf-core.h"#include "ti-lib.h"#include "hw_rfc_dbell.h"#include "hw_rfc_pwr.h"#include "rf-core/api/mailbox.h"#include "rf-core/api/common_cmd.h"#include "rf-core/api/ble_cmd.h"#include "rf-core/api/ieee_cmd.h"#include "rf-core/api/data_entry.h"#include "rf-core/api/ble_mailbox.h"#include "rf-core/api/ieee_mailbox.h"#include "rf-core/api/prop_mailbox.h"#include "rf-core/api/prop_cmd.h"#include <stdint.h>#include <stdbool.h>#include <stdio.h>#include <string.h>Go to the source code of this file.
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_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. | |
Implementation of the CC13xx/CC26xx RF core driver.
Definition in file rf-core.c.
1.8.6