ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ble_hci_ra8_ble.h
Go to the documentation of this file.
1
45
46#pragma once
47
48#ifdef __cplusplus
49extern "C" {
50#endif
51
52#include <stdint.h>
53
54#include "ra8_err.h"
55
56/* =============================================================================
57 * Public limits
58 * =============================================================================
59 */
60
81
82/* =============================================================================
83 * Lifecycle
84 * =============================================================================
85 */
86
110[[nodiscard]] ra8_err_t ble_hci_ra8_ble_init(void);
111
128[[nodiscard]] ra8_err_t ble_hci_ra8_ble_deinit(void);
129
130#ifdef __cplusplus
131}
132#endif
ble_hci_ra8_ble_limits_t
Sizing constants for the adapter's private scratch buffers.
@ k_ble_hci_ra8_ble_handle_mask
ACL handle field carries the 12-bit handle plus PB/BC flags.
@ k_ble_hci_ra8_ble_acl_buf_max
Maximum HCI ACL payload byte count + 4-byte header.
@ k_ble_hci_ra8_ble_evt_buf_max
Maximum HCI event parameter byte count + 2-byte header.
ra8_err_t ble_hci_ra8_ble_deinit(void)
Detach the adapter from the ra8_ble HCI ring.
ra8_err_t ble_hci_ra8_ble_init(void)
Attach the adapter to the ra8_ble HCI ring.
Error Code Definitions for ra8-firmware.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.
Definition ra8_err.h:546