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

One direction of an RTT channel (matches SEGGER layout). More...

Data Fields

const char * name
 NUL-terminated channel name.
uint8_t * buf
 Backing ring buffer.
uint32_t size
 Bytes of buf.
uint32_t wr_off
 Write index (producer).
uint32_t rd_off
 Read index (consumer = host).
uint32_t flags
 0 = no-block-skip, default.

Detailed Description

One direction of an RTT channel (matches SEGGER layout).

Definition at line 55 of file main.c.

Field Documentation

◆ buf

uint8_t* rtt_buf_t::buf

Backing ring buffer.

Definition at line 57 of file main.c.

Referenced by internal_write().

◆ flags

uint32_t rtt_buf_t::flags

0 = no-block-skip, default.

Definition at line 61 of file main.c.

◆ name

const char* rtt_buf_t::name

NUL-terminated channel name.

Definition at line 56 of file main.c.

◆ rd_off

uint32_t rtt_buf_t::rd_off

Read index (consumer = host).

Definition at line 60 of file main.c.

Referenced by internal_write().

◆ size

uint32_t rtt_buf_t::size

Bytes of buf.

Definition at line 58 of file main.c.

Referenced by internal_write().

◆ wr_off

uint32_t rtt_buf_t::wr_off

Write index (producer).

Definition at line 59 of file main.c.

Referenced by internal_write().


The documentation for this struct was generated from the following file:
  • examples/ek_ra8d2/hw_validated/hil/rtt_log_demo/src/main.c