ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_ble_internal.h
Go to the documentation of this file.
1
11
12#pragma once
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18#include <stdint.h>
19
20#include "ra8_attributes.h"
21
38
59RA8_TEST_HELPER void ra8_ble_test_inject_rx(const uint8_t* bytes, uint16_t len);
60
79RA8_TEST_HELPER const uint8_t* ra8_ble_test_tx_capture(uint16_t* out_len);
80
81#ifdef __cplusplus
82}
83#endif
Annotation-attribute framework macros for ra8-firmware.
#define RA8_TEST_HELPER
Mark a symbol as externally-linked but only callable from tests.
const uint8_t * ra8_ble_test_tx_capture(uint16_t *out_len)
Borrow the BLE transmit capture and optionally report its length.
Definition ra8_ble.c:492
void ra8_ble_test_inject_rx(const uint8_t *bytes, uint16_t len)
Replace the synthetic BLE receive input with bounded caller bytes.
Definition ra8_ble.c:479
void ra8_ble_test_reset_capture(void)
Reset the BLE loopback capture and injection cursors.
Definition ra8_ble.c:472