ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_c6link_transport.h
Go to the documentation of this file.
1
41
42#pragma once
43
44#ifdef __cplusplus
45extern "C" {
46#endif
47
48#include <stdint.h>
49
50#include "ra8_err.h"
51
84typedef struct ra8_c6link_transport {
92 ra8_err_t (*transfer)(void* ctx, const uint8_t* tx, uint8_t* rx, uint16_t len);
93
101 bool (*handshake_active)(void* ctx);
102
109 void (*delay_ms)(void* ctx, uint16_t ms);
110
112 void* ctx;
114
115#ifdef __cplusplus
116}
117#endif
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