Here the peripheral AON has a baseAddress of 0x4000F800, but all registers in this section has an offset of 0x800.
I think his offset is redundant as the 0x800 is already added in its base address.
Another proof is bl602.h, where AON_BASE is set to 0x4000F000 and the offsets in aon_reg.h has an offset of 0x8XX based on this base address.
https://raw.githubusercontent.com/bouffalolab/bl_iot_sdk/master/components/bl602/bl602_std/bl602_std/Device/Bouffalo/BL602/Peripherals/soc602_reg.svd
Here the peripheral AON has a baseAddress of
0x4000F800
, but all registers in this section has an offset of0x800
. I think his offset is redundant as the0x800
is already added in its base address. Another proof is bl602.h, whereAON_BASE
is set to0x4000F000
and the offsets in aon_reg.h has an offset of0x8XX
based on this base address.