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

CDOCR.COBS / COWS / COLS byte-swap control bundle. More...

#include <ra8_ceu_types.h>

Data Fields

bool swap_8_bit
 COBS: byte-swap inside 16-bit words.
bool swap_16_bit
 COWS: word-swap inside 32-bit dwords.
bool swap_32_bit
 COLS: dword-swap inside 64-bit qwords.

Detailed Description

CDOCR.COBS / COWS / COLS byte-swap control bundle.

HUM Ch 60.2.20 p 3662-3663. The three swaps compose: COBS swaps adjacent bytes in 16-bit words, COWS swaps adjacent 16-bit words in 32-bit dwords, COLS swaps adjacent 32-bit dwords in 64-bit qwords. Set every flag your downstream consumer needs in one shot via ra8_ceu_byte_swap_set.

Definition at line 207 of file ra8_ceu_types.h.

Field Documentation

◆ swap_16_bit

bool ra8_ceu_byte_swap_t::swap_16_bit

COWS: word-swap inside 32-bit dwords.

Definition at line 209 of file ra8_ceu_types.h.

Referenced by internal_pack_cdocr(), and ra8_ceu_byte_swap_set().

◆ swap_32_bit

bool ra8_ceu_byte_swap_t::swap_32_bit

COLS: dword-swap inside 64-bit qwords.

Definition at line 210 of file ra8_ceu_types.h.

Referenced by internal_pack_cdocr(), and ra8_ceu_byte_swap_set().

◆ swap_8_bit

bool ra8_ceu_byte_swap_t::swap_8_bit

COBS: byte-swap inside 16-bit words.

Definition at line 208 of file ra8_ceu_types.h.

Referenced by internal_pack_cdocr(), and ra8_ceu_byte_swap_set().


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