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

Decoded snapshot of the NPU_STATUS register. More...

#include <ra8_npu.h>

Data Fields

uint32_t raw
 Verbatim NPU_STATUS register value.
bool running
 STATUS.state: NPU is executing a command stream.
bool irq_raised
 STATUS.irq_raised: an interrupt is pending.
bool cmd_end
 STATUS.cmd_end: command stream fully consumed.
bool fault
 Any bus / parse / weight-decoder / ECC fault bit.

Detailed Description

Decoded snapshot of the NPU_STATUS register.

A friendly view of the raw STATUS word returned by ra8_npu_read_status(). raw preserves the exact register value for logging; the booleans decode the bits the foundation cares about.

Invariant
raw is the verbatim STATUS register value at the read instant.
See also
ra8_npu_read_status
Since
0.1.0

Definition at line 106 of file ra8_npu.h.

Field Documentation

◆ cmd_end

bool ra8_npu_status_t::cmd_end

STATUS.cmd_end: command stream fully consumed.

Definition at line 110 of file ra8_npu.h.

◆ fault

bool ra8_npu_status_t::fault

Any bus / parse / weight-decoder / ECC fault bit.

Definition at line 111 of file ra8_npu.h.

◆ irq_raised

bool ra8_npu_status_t::irq_raised

STATUS.irq_raised: an interrupt is pending.

Definition at line 109 of file ra8_npu.h.

◆ raw

uint32_t ra8_npu_status_t::raw

Verbatim NPU_STATUS register value.

Definition at line 107 of file ra8_npu.h.

Referenced by main().

◆ running

bool ra8_npu_status_t::running

STATUS.state: NPU is executing a command stream.

Definition at line 108 of file ra8_npu.h.


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