stm32 /stm32h5 /STM32H563 /DCACHE /DCACHE_CR

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as DCACHE_CR

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (B_0x0)EN 0 (B_0x0)CACHEINV 0 (B_0x0)CACHECMD 0 (B_0x0)STARTCMD 0 (B_0x0)RHITMEN 0 (B_0x0)RMISSMEN 0 (B_0x0)RHITMRST 0 (B_0x0)RMISSMRST 0 (B_0x0)WHITMEN 0 (B_0x0)WMISSMEN 0 (B_0x0)WHITMRST 0 (B_0x0)WMISSMRST 0 (B_0x0)HBURST

WMISSMEN=B_0x0, RHITMRST=B_0x0, EN=B_0x0, RHITMEN=B_0x0, HBURST=B_0x0, WHITMEN=B_0x0, RMISSMEN=B_0x0, STARTCMD=B_0x0, RMISSMRST=B_0x0, WHITMRST=B_0x0, CACHECMD=B_0x0, CACHEINV=B_0x0, WMISSMRST=B_0x0

Description

DCACHE control register

Fields

EN

enable

0 (B_0x0): cache disabled

1 (B_0x1): cache enabled

CACHEINV

full cache invalidation Can be set by software, only when EN = 1. Cleared by hardware when the BUSYF flag is set (during full cache invalidation operation). Writing 0 has no effect.

0 (B_0x0): no effect

1 (B_0x1): invalidate entire cache (all cache lines valid bit = 0)

CACHECMD

cache command maintenance operation (cleans and/or invalidates an address range) Can be set and cleared by software, only when no maintenance command is ongoing (BUSYCMDF = 0). others: reserved

0 (B_0x0): no operation

1 (B_0x1): clean range

2 (B_0x2): invalidate range

3 (B_0x3): clean and invalidate range

STARTCMD

starts maintenance command (maintenance operation defined in CACHECMD). Can be set by software, only when EN = 1, BUSYCMDF = 0, BUSYF = 0 and CACHECMD = 0b001, 0b010 or 0b011. Cleared by hardware when the BUSYCMDF flag is set (during cache maintenance operation). Writing 0 has no effect.

0 (B_0x0): command operation (cache maintenance) finished

1 (B_0x1): start maintenance command (cache maintenance)

RHITMEN

read-hit monitor enable

0 (B_0x0): cache read-hit monitor switched off. Stopping the monitor does not reset it.

1 (B_0x1): cache read-hit monitor enabled

RMISSMEN

read-miss monitor enable

0 (B_0x0): cache read-miss monitor switched off. Stopping the monitor does not reset it.

1 (B_0x1): cache read-miss monitor enabled

RHITMRST

read-hit monitor reset

0 (B_0x0): no effect

1 (B_0x1): reset cache read-hit monitor

RMISSMRST

read-miss monitor reset

0 (B_0x0): no effect

1 (B_0x1): reset cache read-miss monitor

WHITMEN

write-hit monitor enable

0 (B_0x0): cache write-hit monitor switched off. Stopping the monitor does not reset it.

1 (B_0x1): cache write-hit monitor enabled

WMISSMEN

write-miss monitor enable

0 (B_0x0): cache write-miss monitor switched off. Stopping the monitor does not reset it.

1 (B_0x1): cache write-miss monitor enabled

WHITMRST

write-hit monitor reset

0 (B_0x0): no effect

1 (B_0x1): reset cache write-hit monitor

WMISSMRST

write-miss monitor reset

0 (B_0x0): no effect

1 (B_0x1): reset cache write-miss monitor

HBURST

output burst type for cache master port read accesses Write access is always done in INCR burst type.

0 (B_0x0): WRAP

1 (B_0x1): INCR

Links

()