Struct busctrl#

Struct Documentation#

struct busctrl#

Register block for busfabric control signals and performance counters

Public Functions

inline bool get_BUS_PRIORITY_PROC0() volatile#

Get BUS_PRIORITY’s PROC0 bit.

0 - low priority, 1 - high priority

inline void set_BUS_PRIORITY_PROC0() volatile#

Set BUS_PRIORITY’s PROC0 bit.

0 - low priority, 1 - high priority

inline void clear_BUS_PRIORITY_PROC0() volatile#

Clear BUS_PRIORITY’s PROC0 bit.

0 - low priority, 1 - high priority

inline void toggle_BUS_PRIORITY_PROC0() volatile#

Toggle BUS_PRIORITY’s PROC0 bit.

0 - low priority, 1 - high priority

inline bool get_BUS_PRIORITY_PROC1() volatile#

Get BUS_PRIORITY’s PROC1 bit.

0 - low priority, 1 - high priority

inline void set_BUS_PRIORITY_PROC1() volatile#

Set BUS_PRIORITY’s PROC1 bit.

0 - low priority, 1 - high priority

inline void clear_BUS_PRIORITY_PROC1() volatile#

Clear BUS_PRIORITY’s PROC1 bit.

0 - low priority, 1 - high priority

inline void toggle_BUS_PRIORITY_PROC1() volatile#

Toggle BUS_PRIORITY’s PROC1 bit.

0 - low priority, 1 - high priority

inline bool get_BUS_PRIORITY_DMA_R() volatile#

Get BUS_PRIORITY’s DMA_R bit.

0 - low priority, 1 - high priority

inline void set_BUS_PRIORITY_DMA_R() volatile#

Set BUS_PRIORITY’s DMA_R bit.

0 - low priority, 1 - high priority

inline void clear_BUS_PRIORITY_DMA_R() volatile#

Clear BUS_PRIORITY’s DMA_R bit.

0 - low priority, 1 - high priority

inline void toggle_BUS_PRIORITY_DMA_R() volatile#

Toggle BUS_PRIORITY’s DMA_R bit.

0 - low priority, 1 - high priority

inline bool get_BUS_PRIORITY_DMA_W() volatile#

Get BUS_PRIORITY’s DMA_W bit.

0 - low priority, 1 - high priority

inline void set_BUS_PRIORITY_DMA_W() volatile#

Set BUS_PRIORITY’s DMA_W bit.

0 - low priority, 1 - high priority

inline void clear_BUS_PRIORITY_DMA_W() volatile#

Clear BUS_PRIORITY’s DMA_W bit.

0 - low priority, 1 - high priority

inline void toggle_BUS_PRIORITY_DMA_W() volatile#

Toggle BUS_PRIORITY’s DMA_W bit.

0 - low priority, 1 - high priority

inline void get_BUS_PRIORITY(bool &PROC0, bool &PROC1, bool &DMA_R, bool &DMA_W) volatile#

Get all of BUS_PRIORITY’s bit fields.

(read-write) Set the priority of each master for bus arbitration.

inline void set_BUS_PRIORITY(bool PROC0, bool PROC1, bool DMA_R, bool DMA_W) volatile#

Set all of BUS_PRIORITY’s bit fields.

(read-write) Set the priority of each master for bus arbitration.

inline bool get_BUS_PRIORITY_ACK_BUS_PRIORITY_ACK() volatile#

Get BUS_PRIORITY_ACK’s BUS_PRIORITY_ACK bit.

Goes to 1 once all arbiters have registered the new global priority levels.

Arbiters update their local priority when servicing a new nonsequential access.

In normal circumstances this will happen almost immediately.

inline uint32_t get_PERFCTR0_PERFCTR0() volatile#

Get PERFCTR0’s PERFCTR0 field.

Busfabric saturating performance counter 0

Count some event signal from the busfabric arbiters.

Write any value to clear. Select an event to count using PERFSEL0

inline void set_PERFCTR0_PERFCTR0(uint32_t value) volatile#

Set PERFCTR0’s PERFCTR0 field.

Busfabric saturating performance counter 0

Count some event signal from the busfabric arbiters.

Write any value to clear. Select an event to count using PERFSEL0

inline BUSCTRL_PERFSEL0_PERFSEL0 get_PERFSEL0_PERFSEL0() volatile#

Get PERFSEL0’s PERFSEL0 field.

Select an event for PERFCTR0. Count either contested accesses, or all accesses, on a downstream port of the main crossbar.

inline void set_PERFSEL0_PERFSEL0(BUSCTRL_PERFSEL0_PERFSEL0 value) volatile#

Set PERFSEL0’s PERFSEL0 field.

Select an event for PERFCTR0. Count either contested accesses, or all accesses, on a downstream port of the main crossbar.

inline uint32_t get_PERFCTR1_PERFCTR1() volatile#

Get PERFCTR1’s PERFCTR1 field.

Busfabric saturating performance counter 1

Count some event signal from the busfabric arbiters.

Write any value to clear. Select an event to count using PERFSEL1

inline void set_PERFCTR1_PERFCTR1(uint32_t value) volatile#

Set PERFCTR1’s PERFCTR1 field.

Busfabric saturating performance counter 1

Count some event signal from the busfabric arbiters.

Write any value to clear. Select an event to count using PERFSEL1

inline BUSCTRL_PERFSEL1_PERFSEL1 get_PERFSEL1_PERFSEL1() volatile#

Get PERFSEL1’s PERFSEL1 field.

Select an event for PERFCTR1. Count either contested accesses, or all accesses, on a downstream port of the main crossbar.

inline void set_PERFSEL1_PERFSEL1(BUSCTRL_PERFSEL1_PERFSEL1 value) volatile#

Set PERFSEL1’s PERFSEL1 field.

Select an event for PERFCTR1. Count either contested accesses, or all accesses, on a downstream port of the main crossbar.

inline uint32_t get_PERFCTR2_PERFCTR2() volatile#

Get PERFCTR2’s PERFCTR2 field.

Busfabric saturating performance counter 2

Count some event signal from the busfabric arbiters.

Write any value to clear. Select an event to count using PERFSEL2

inline void set_PERFCTR2_PERFCTR2(uint32_t value) volatile#

Set PERFCTR2’s PERFCTR2 field.

Busfabric saturating performance counter 2

Count some event signal from the busfabric arbiters.

Write any value to clear. Select an event to count using PERFSEL2

inline BUSCTRL_PERFSEL2_PERFSEL2 get_PERFSEL2_PERFSEL2() volatile#

Get PERFSEL2’s PERFSEL2 field.

Select an event for PERFCTR2. Count either contested accesses, or all accesses, on a downstream port of the main crossbar.

inline void set_PERFSEL2_PERFSEL2(BUSCTRL_PERFSEL2_PERFSEL2 value) volatile#

Set PERFSEL2’s PERFSEL2 field.

Select an event for PERFCTR2. Count either contested accesses, or all accesses, on a downstream port of the main crossbar.

inline uint32_t get_PERFCTR3_PERFCTR3() volatile#

Get PERFCTR3’s PERFCTR3 field.

Busfabric saturating performance counter 3

Count some event signal from the busfabric arbiters.

Write any value to clear. Select an event to count using PERFSEL3

inline void set_PERFCTR3_PERFCTR3(uint32_t value) volatile#

Set PERFCTR3’s PERFCTR3 field.

Busfabric saturating performance counter 3

Count some event signal from the busfabric arbiters.

Write any value to clear. Select an event to count using PERFSEL3

inline BUSCTRL_PERFSEL3_PERFSEL3 get_PERFSEL3_PERFSEL3() volatile#

Get PERFSEL3’s PERFSEL3 field.

Select an event for PERFCTR3. Count either contested accesses, or all accesses, on a downstream port of the main crossbar.

inline void set_PERFSEL3_PERFSEL3(BUSCTRL_PERFSEL3_PERFSEL3 value) volatile#

Set PERFSEL3’s PERFSEL3 field.

Select an event for PERFCTR3. Count either contested accesses, or all accesses, on a downstream port of the main crossbar.

Public Members

uint32_t BUS_PRIORITY#

(read-write) Set the priority of each master for bus arbitration.

const uint32_t BUS_PRIORITY_ACK = {}#

(read-only) Bus priority acknowledge

uint32_t PERFCTR0#

(read-write) Bus fabric performance counter 0

uint32_t PERFSEL0#

(read-write) Bus fabric performance event select for PERFCTR0

uint32_t PERFCTR1#

(read-write) Bus fabric performance counter 1

uint32_t PERFSEL1#

(read-write) Bus fabric performance event select for PERFCTR1

uint32_t PERFCTR2#

(read-write) Bus fabric performance counter 2

uint32_t PERFSEL2#

(read-write) Bus fabric performance event select for PERFCTR2

uint32_t PERFCTR3#

(read-write) Bus fabric performance counter 3

uint32_t PERFSEL3#

(read-write) Bus fabric performance event select for PERFCTR3

Public Static Attributes

static constexpr std::size_t size = 40#

busctrl’s size in bytes.