ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
blink_m33_hal.h
Go to the documentation of this file.
1
19
20#pragma once
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26#include "ra8_pcntr.h"
27#include "ra8_port_constants.h"
28
61
62#ifdef __cplusplus
63}
64#endif
CPU1-safe combined direction+level PORT primitive over PCNTR1/PCNTR2.
static ra8_err_t ra8_pcntr_set_output(ra8_port_t port, ra8_pin_t pin, ra8_level_t level)
Hold a pin an output and drive it to a level, via PCNTR1 (combined).
Definition ra8_pcntr.h:99
Typed Port / Pin Constants for the RA8D2 IOPORT Module.
@ k_ra8_pin_led1
LED1 on P6_00 – (port 6 << 8) | pin 0.
ra8_level_t
Digital output / input level.
@ k_ra8_level_high
Drive or read 1.
@ k_ra8_level_low
Drive or read 0.
#define RA8_PIN_PORT(p)
Extract the port index from a packed ra8_port_pin_t.
#define RA8_PIN_PIN(p)
Extract the pin index from a packed ra8_port_pin_t.