static ra8_level_t blink_m33_hal_step(ra8_level_t level)
Advance the blink by one step: toggle the level and drive LED1 to it.
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).
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.