Download USER`S MANUAL
Transcript
List of Programming Tips Description Page Number Chapter 2: Address Spaces Defining Vectored Interrupts .........................................................................................................................2-3 Using the REF Look-Up Table ......................................................................................................................2-6 Clearing Data Memory Banks 0 and 1 ..........................................................................................................2-10 Selecting the Working Register Area ............................................................................................................2-14 Initializing the Stack Pointer ..........................................................................................................................2-15 Using the BSC Register to Output 16-Bit Data .............................................................................................2-18 Setting ISx Flags for Interrupt Processing.....................................................................................................2-20 Using the EMB Flag to Select Memory Banks ..............................................................................................2-21 Using the ERB Flag to Select Register Banks ..............................................................................................2-22 Using the Carry Flag as a 1-Bit Accumulator................................................................................................2-24 Chapter 3: Addressing Modes Initializing the EMB and ERB Flags ..............................................................................................................3-3 1-Bit Addressing Modes ................................................................................................................................3-7 4-Bit Addressing Modes ................................................................................................................................3-10 8-Bit Addressing Modes ................................................................................................................................3-13 Chapter 5: SAM47 Instruction Set Example of the Instruction Redundancy Effect .............................................................................................5-4 Chapter 6: Oscillator Circuits Setting the CPU Clock...................................................................................................................................6-4 Switching Between Main System and Subsystem Clock ..............................................................................6-9 CPU Clock Output to the CLO Pin ................................................................................................................6-11 Chapter 7: Interrupts Setting the INT Interrupt Priority....................................................................................................................7-8 Using INTK as a Key Input Interrupt .............................................................................................................7-12 Enabling the INTB and INT4 Interrupts .........................................................................................................7-15 S3C72P9/P72P9 MICROCONTROLLER xix