[日本語]
SRAMのアクセスを行いたいですが、リージョン毎にテーブルエントリが分かれているのでしょうか?
ex) lbco &r2, ICSS_RAT_REGION3_CONST, 100, 32
(SRAMのリージョン3に相当する場所のオフセット100バイト目から32バイトを読み込む) [pru_constant_defines.h]
[pru_constant_defines.h]
.asg c15, ICSS_RAT_REGION0_CONST ;0x6000_0000
.asg c16, ICSS_RAT_REGION1_CONST ;0x7000_0000
.asg c17, ICSS_RAT_REGION2_CONST ;0x8000_0000
.asg c18, ICSS_RAT_REGION3_CONST ;0x9000_0000
.asg c19, ICSS_RAT_REGION4_CONST ;0xA000_0000
.asg c20, ICSS_RAT_REGION5_CONST ;0xB000_0000
.asg c23, ICSS_RAT_REGION6_CONST ;0xC000_0000
.asg c29, ICSS_RAT_REGION7_CONST ;0xD000_0000
.asg c30, ICSS_RAT_REGION8_CONST ;0xE000_0000
.asg c31, ICSS_RAT_REGION9_CONST ;0xF000_0000
[English]
I would like to access SRAM, but are there separate table entries for each region?
ex) lbco &r2, ICSS_RAT_REGION3_CONST, 100, 32
(Read 32 bytes from the 100th byte offset of the location corresponding to SRAM region 3)
[pru_constant_defines.h]
.asg c15, ICSS_RAT_REGION0_CONST ;0x6000_0000
.asg c16, ICSS_RAT_REGION1_CONST ;0x7000_0000
.asg c17, ICSS_RAT_REGION2_CONST ;0x8000_0000
.asg c18, ICSS_RAT_REGION3_CONST ;0x9000_0000
.asg c19, ICSS_RAT_REGION4_CONST ;0xA000_0000
.asg c20, ICSS_RAT_REGION5_CONST ;0xB000_0000
.asg c23, ICSS_RAT_REGION6_CONST ;0xC000_0000
.asg c29, ICSS_RAT_REGION7_CONST ;0xD000_0000
.asg c30, ICSS_RAT_REGION8_CONST ;0xE000_0000
.asg c31, ICSS_RAT_REGION9_CONST ;0xF000_0000