hollyhock
Loading...
Searching...
No Matches
ubc.hpp
Go to the documentation of this file.
1
5#pragma once
6#include <stdint.h>
7
9volatile uint32_t &UBC_REG_CBR0 = *reinterpret_cast<uint32_t *>(0xFF200000);
11volatile uint32_t &UBC_REG_CRR0 = *reinterpret_cast<uint32_t *>(0xFF200004);
13volatile uint32_t &UBC_REG_CAR0 = *reinterpret_cast<uint32_t *>(0xFF200008);
15volatile uint32_t &UBC_REG_CAMR0 = *reinterpret_cast<uint32_t *>(0xFF20000C);
17volatile uint32_t &UBC_REG_CBCR = *reinterpret_cast<uint32_t *>(0xFF200620);
18
20const uint32_t UBC_CBR_ID = 4;
22const uint32_t UBC_CBR_RW = 1;
24const uint32_t UBC_CBR_CE = 0;
25
27const uint32_t UBC_CRR_RESERVED = 13;
29const uint32_t UBC_CRR_PCB = 1;
31const uint32_t UBC_CRR_BIE = 0;
32
34const uint32_t UBC_CBCR_UBDE = 0;
volatile uint32_t & UBC_REG_CRR0
Match operation setting register 0.
Definition ubc.hpp:11
const uint32_t UBC_CRR_PCB
CRR.PCB offset (bits).
Definition ubc.hpp:29
volatile uint32_t & UBC_REG_CAMR0
Match address mask setting register 0.
Definition ubc.hpp:15
const uint32_t UBC_CBR_CE
CBR.CE offset (bits).
Definition ubc.hpp:24
volatile uint32_t & UBC_REG_CBCR
Break control register.
Definition ubc.hpp:17
volatile uint32_t & UBC_REG_CAR0
Match address setting register 0.
Definition ubc.hpp:13
volatile uint32_t & UBC_REG_CBR0
Match condition setting register 0.
Definition ubc.hpp:9
const uint32_t UBC_CBR_ID
CBR.ID offset (bits).
Definition ubc.hpp:20
const uint32_t UBC_CRR_BIE
CRR.BIE offset (bits).
Definition ubc.hpp:31
const uint32_t UBC_CBR_RW
CBR.RW offset (bits).
Definition ubc.hpp:22
const uint32_t UBC_CRR_RESERVED
CRR.RESERVED offset (bits).
Definition ubc.hpp:27
const uint32_t UBC_CBCR_UBDE
CBCR.UBDE offset (bits).
Definition ubc.hpp:34