
System Initialization
Élan™SC520 Microcontroller User’s Manual
3-9
3.7.1
Specifying Pages and Regions
For memory-mapped address regions, the Region Size/Start Address (SZ_ST_ADR) bit
field in the PAR registers specifies the number of 64-Kbyte or 4-Kbyte pages for the region.
Regions using a 64-Kbyte page size can have up to 2048 pages, for a maximum size of
128 Mbytes. Regions using a 4-Kbyte page size can have up to 128 pages, for a maximum
size of 512 Kbytes.
■
To specify the number of pages for a region, the value (page count minus 1) is
programmed into the SZ_ST_ADR field of the PAR register.
– For example, to specify a 16-Kbyte region using a 4-Kbyte page size, the value 03h
(0000011b) would be programmed into bits 24–18 of a PAR register, i.e., one less
than the required number of pages.
– To specify a page count of one, all the bits in the SZ_ST_ADR field for a PAR register
should be cleared to 0.
– To specify the maximum number of pages, either 2048 or 128, all the bits in the
SZ_ST_ADR field should be set to 1.
■
To specify the 4-Kbyte page size, the Page Size (PG_SZ) bit should be cleared to 0.
For a 64-Kbyte page size, it should be set to 1.
The same holds true for GP bus I/O-mapped regions. The region size field specifies the
number of bytes in the addressable region. For example, to specify a region size of 8 bytes,
the value 07h (0111b) should be programmed into the SZ_ST_ADR field of the PAR register.
Note: For GP bus I/O-mapped regions, the PAR registers’ PG_SZ bit is ignored. In general,
it should be cleared to 0 for GP bus I/O regions.
Содержание Elan SC520
Страница 1: ...lan SC520 Microcontroller User s Manual Order 22004A...
Страница 4: ...iv lan SC520 Microcontroller User s Manual...
Страница 28: ...Introduction xxviii lan SC520 Microcontroller User s Manual...
Страница 42: ...Architectural Overview 1 14 lan SC520 Microcontroller User s Manual...
Страница 78: ...System Initialization 3 22 lan SC520 Microcontroller User s Manual...
Страница 108: ...Clock Generation and Control 5 10 lan SC520 Microcontroller User s Manual...
Страница 118: ...Reset Generation 6 10 lan SC520 Microcontroller User s Manual...
Страница 148: ...System Arbitration 8 24 lan SC520 Microcontroller User s Manual...
Страница 214: ...SDRAM Controller 10 36 lan SC520 Microcontroller User s Manual...
Страница 230: ...Write Buffer and Read Buffer 11 16 lan SC520 Microcontroller User s Manual...
Страница 288: ...GP Bus DMA Controller 14 22 lan SC520 Microcontroller User s Manual...
Страница 316: ...Programmable Interval Timer 16 8 lan SC520 Microcontroller User s Manual...
Страница 328: ...Software Timer 18 4 lan SC520 Microcontroller User s Manual...
Страница 346: ...Real Time Clock 20 12 lan SC520 Microcontroller User s Manual...
Страница 360: ...UART Serial Ports 21 14 lan SC520 Microcontroller User s Manual...
Страница 414: ...AMDebug Technology 26 8 lan SC520 Microcontroller User s Manual...