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

#include <sweep_block_internal.h>

Data Fields

const char * name
 Backend name for the report rows.
int(* setup )(cbs_backend_t *be, ra8_vsource_read_fn payload_read, void *payload_ctx, uint32_t blob_bytes, uint32_t block_bytes, cb_sweep_config_t *config)
 Build the backing for blob at block_bytes; 0 on success.
void(* teardown )(cbs_backend_t *be)
 Release everything setup acquired (idempotent).
ra8_vsource_read_fn read
 Byte reader over the backing (set by setup).
void * read_ctx
 Context for read (set by setup).
uint64_t backing_bytes
 On-medium size of the backing, in bytes.
const uint64_t * src_bytes
 Raw medium-byte counter, or NULL if == delivered.

Detailed Description

Definition at line 86 of file sweep_block_internal.h.

Field Documentation

◆ backing_bytes

uint64_t cbs_backend::backing_bytes

On-medium size of the backing, in bytes.

Definition at line 99 of file sweep_block_internal.h.

◆ name

const char* cbs_backend::name

Backend name for the report rows.

Definition at line 87 of file sweep_block_internal.h.

◆ read

ra8_vsource_read_fn cbs_backend::read

Byte reader over the backing (set by setup).

Definition at line 97 of file sweep_block_internal.h.

◆ read_ctx

void* cbs_backend::read_ctx

Context for read (set by setup).

Definition at line 98 of file sweep_block_internal.h.

◆ setup

int(* cbs_backend::setup) (cbs_backend_t *be, ra8_vsource_read_fn payload_read, void *payload_ctx, uint32_t blob_bytes, uint32_t block_bytes, cb_sweep_config_t *config)

Build the backing for blob at block_bytes; 0 on success.

Definition at line 89 of file sweep_block_internal.h.

◆ src_bytes

const uint64_t* cbs_backend::src_bytes

Raw medium-byte counter, or NULL if == delivered.

Definition at line 100 of file sweep_block_internal.h.

◆ teardown

void(* cbs_backend::teardown) (cbs_backend_t *be)

Release everything setup acquired (idempotent).

Definition at line 96 of file sweep_block_internal.h.


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