ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
board_led_status_t Struct Reference

One board LED's live state for the status sidebar. More...

#include <board_overlay.h>

Data Fields

bool on
 True when the GPIO pin is driven high.
uint16_t color
 RGB565 lit colour (blue / green / red).
const char * label
 Short ASCII caption (e.g.

Detailed Description

One board LED's live state for the status sidebar.

A lit indicator is filled with color when on is true and drawn dark otherwise; label is the short caption printed beside the dot.

Definition at line 77 of file board_overlay.h.

Field Documentation

◆ color

uint16_t board_led_status_t::color

RGB565 lit colour (blue / green / red).

Definition at line 79 of file board_overlay.h.

Referenced by internal_draw_led(), and internal_fill_status_hw().

◆ label

const char* board_led_status_t::label

Short ASCII caption (e.g.

"LED1").

Definition at line 80 of file board_overlay.h.

Referenced by internal_draw_led(), and internal_fill_status_hw().

◆ on

bool board_led_status_t::on

True when the GPIO pin is driven high.

Definition at line 78 of file board_overlay.h.

Referenced by internal_draw_led(), and internal_fill_status_hw().


The documentation for this struct was generated from the following file: