ra8_err_t ra8_bscan_get_status(ra8_bscan_status_t *out)
Get a snapshot of the driver's TAP bookkeeping state.
ra8_err_t ra8_bscan_clear_status(uint32_t mask)
Clear the recorded last-instruction state (no hardware effect).
ra8_err_t ra8_bscan_deinit(void)
Tear down the bookkeeping object.
ra8_err_t ra8_bscan_set_instruction(ra8_bscan_instr_t instr)
Record the JTIR opcode the external fixture is currently driving.
ra8_err_t ra8_bscan_init(void)
Initialise the firmware-side TAP bookkeeping object.
ra8_err_t ra8_bscan_get_idcode(uint32_t *out)
Get the chip's hardwired JTIDR device ID code.
JTAG / IEEE-1149.1 Boundary Scan TAP constants for the RA8D2.
ra8_bscan_instr_t
JTIR Test Bit Set (TS[3:0]) command codes.
Error Code Definitions for ra8-firmware.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.
Snapshot of the firmware-side TAP bookkeeping object.
uint32_t expected_idcode
JTIDR value the fixture should observe.
ra8_bscan_instr_t last_instruction
Last JTIR opcode reported by the fixture.
bool initialized
True once ra8_bscan_init ran.