ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_pin_interface.h
Go to the documentation of this file.
1
37
38#pragma once
39
40#ifdef __cplusplus
41extern "C" {
42#endif
43
44#include "ra8_err.h"
45#include "ra8_port_constants.h"
46
73
74#ifdef __cplusplus
75}
76#endif
-proof
ra8_board_eth_pin_t pin
Pin.
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
Typed Port / Pin Constants for the RA8D2 IOPORT Module.
ra8_port_pin_t
Packed (port << 8) | pin pin identifier.
ra8_level_t
Digital output / input level.
Vtable for a pin driver.
ra8_err_t(* toggle)(void *ctx, ra8_port_pin_t pin)
Toggle a pin.
ra8_err_t(* output_init)(void *ctx, ra8_port_pin_t pin, ra8_level_t init_level)
Configure a pin as an output at an initial level.
void * ctx
Opaque context handed to every call.
ra8_err_t(* read)(void *ctx, ra8_port_pin_t pin, ra8_level_t *out_level)
Read a pin.