LL ICACHE Constants

Ways selection

group ICACHE_LL_EC_WaysSelection

Defines

LL_ICACHE_1WAY 0U

1-way cache (direct mapped cache)

LL_ICACHE_2WAYS ICACHE_CR_WAYSEL

2-ways set associative cache (default)

Monitor type

group ICACHE_LL_EC_Monitor_Type

Defines

LL_ICACHE_MONITOR_HIT ICACHE_CR_HITMEN

Hit monitor counter

LL_ICACHE_MONITOR_MISS ICACHE_CR_MISSMEN

Miss monitor counter

LL_ICACHE_MONITOR_ALL (ICACHE_CR_HITMEN | ICACHE_CR_MISSMEN)

All monitors counters

Get Flags Defines

group ICACHE_LL_EC_GET_FLAG

Flags defines which can be used with LL_ICACHE_READ_REG function.

Defines

LL_ICACHE_SR_BUSYF ICACHE_SR_BUSYF

Busy flag

LL_ICACHE_SR_BSYENDF ICACHE_SR_BSYENDF

Busy end flag

LL_ICACHE_SR_ERRF ICACHE_SR_ERRF

Cache error flag

Clear Flags Defines

group ICACHE_LL_EC_CLEAR_FLAG

Flags defines which can be used with LL_ICACHE_WRITE_REG function.

Defines

LL_ICACHE_FCR_CBSYENDF ICACHE_FCR_CBSYENDF

Busy end clear flag

LL_ICACHE_FCR_CERRF ICACHE_FCR_CERRF

Cache error clear flag

LL_ICACHE_FCR_ALL (ICACHE_FCR_CBSYENDF | ICACHE_FCR_CERRF)

IT Defines

group ICACHE_LL_EC_IT

IT defines which can be used with LL_ICACHE_READ_REG and LL_ICACHE_WRITE_REG functions.

Defines

LL_ICACHE_IER_BSYENDIE ICACHE_IER_BSYENDIE

Busy end interrupt

LL_ICACHE_IER_ERRIE ICACHE_IER_ERRIE

Cache error interrupt

LL_ICACHE_IER_ALL (ICACHE_IER_BSYENDIE | ICACHE_IER_ERRIE)

Remapped region number

group ICACHE_LL_EC_Region

Defines

LL_ICACHE_REGION_0 0U

Region 0

LL_ICACHE_REGION_1 1U

Region 1

LL_ICACHE_REGION_2 2U

Region 2

LL_ICACHE_REGION_3 3U

Region 3

Remapped Region size

group ICACHE_LL_EC_Region_Size

Defines

LL_ICACHE_REGIONSIZE_2MB 1U

Region size 2MB

LL_ICACHE_REGIONSIZE_4MB 2U

Region size 4MB

LL_ICACHE_REGIONSIZE_8MB 3U

Region size 8MB

LL_ICACHE_REGIONSIZE_16MB 4U

Region size 16MB

LL_ICACHE_REGIONSIZE_32MB 5U

Region size 32MB

LL_ICACHE_REGIONSIZE_64MB 6U

Region size 64MB

LL_ICACHE_REGIONSIZE_128MB 7U

Region size 128MB

Remapped Traffic route

group ICACHE_LL_EC_Traffic_Route

Defines

LL_ICACHE_MASTER1_PORT 0U

Master1 port

LL_ICACHE_MASTER2_PORT ICACHE_CRRx_MSTSEL

Master2 port

Remapped Output burst type

group ICACHE_LL_EC_Output_Burst_Type

Defines

LL_ICACHE_OUTPUT_BURST_WRAP 0U

WRAP

LL_ICACHE_OUTPUT_BURST_INCR ICACHE_CRRx_HBURST

INCR

Address shift

group ICACHE_LL_EC_Address_Shift

Defines

LL_ICACHE_ADDRESS_SHIFT 21U

Address shift