ST STM32WL55JC Reference Manual page 76

Advanced arm-based 32-bit mcus with sub-ghz radio solution
Table of Contents

Advertisement

RM0453
Example
The following example shows how to map bit [2] of the byte located at SRAM1 address
0x2000 0300 to the alias region. The formula is then:
0x2200 6008 = 0x2200 0000 + 0x0300 * 32 + 2 * 4
Writing to address 0x2200 6008 has the same effect as a read-modify-write operation on bit
[2] of the byte at SRAM1 address 0x2000 0300.
Reading address 0x2200 6008 returns the value 0x01 or 0x00 of bit [2] of the byte at
SRAM1 address 0x2000 0300.
For more information on bit-band, refer to the Cortex-M4 programming manual.
76/1454
RM0453 Rev 2

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32WL55JC and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Stm32wl5 seriesStm32wl54 series

Table of Contents

Save PDF