| Electronic Components Datasheet Search |
|
MAC7200 Datasheet(PDF) 536 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
MAC7200 Datasheet(HTML) 536 Page - Freescale Semiconductor, Inc |
|
536 / 976 page ![]() Initialization/Application Information MAC7200 Microcontroller Family Reference Manual, Rev. 2 458 Freescale Semiconductor may be useful for debug purposes. Bits [15:5] of the STATUS register are reserved for future use, and a read from these bits may return any value. Therefore, it is necessary to mask out these bits when reading from this register (refer to Section 25.5.3, “Using the STATUS register). The MEMCONFIG register is a 16-bit read-only register that reflects the configuration of the various memories on the SoC. The PAC7202 device, for example, has the following memories: • 256 Kb Instruction Flash • 8 Kb Data Flash • 16 Kb SRAM With the above memories, we would have the following MEMCONFIG register valid (assuming all memories are visible in the memory map): • MEMCONFIG[4:1] = DFLASHSIZE = 0x4 (4 Kb) • MEMCONFIG[9:6] = IFLASHSIZE = 0xB (256 Kb) • MEMCONFIG[14:11] = SRAMSIZE = 0x6 (16 Kb) 25.5 Initialization/Application Information 25.5.1 Enabling the SSM It is not necessary to enable the SSM before it can be used. 25.5.2 Reset The reset state of each individual bit is shown within the Register Description section (see Section 25.3.1, “Register Descriptions). 25.5.3 Using the STATUS register Bits [15:5] of the STATUS register are reserved for future use; therefore you should mask these bits out when reading this register, as shown in the following code example: In File registers.h: #define SSM_BASE_ADDRESS 0xFC008000/* Example only ! */ /* Following example assumes short is 16-bits */ volatile unsigned short *STATUS = (volatile unsigned short *) (SSM_BASE_ADDRESS+0x0002); In File main.c: #include "registers.h" : : unsigned char dma_active; unsigned char dma_channel; /* Do single read of STATUS register to "capture" state */ dma_channel = (unsigned char) *STATUS & 0x001f; dma_active = dma_channel >> 4; dma_channel = dma_channel & 0x0f; |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |