Download USER`S MANUAL
Transcript
List of Programming Tips Description Chapter 2 Page Number Address Spaces Defining Vectored Interrupts..................................................................................................................2-3 Using the REF Look-Up Table...............................................................................................................2-4 Clearing Data Memory Banks 0 and 1 ...................................................................................................2-7 Selecting the Working Register Area.....................................................................................................2-11 Initializing the Stack Pointer .................................................................................................................2-12 Using the BSC Register to Output 16-Bit Data .......................................................................................2-15 Setting ISx Flags for Interrupt Processing ..............................................................................................2-17 Using the EMB Flag to Select Memory Banks .......................................................................................2-18 Using the ERB Flag to Select Register Banks........................................................................................2-19 Using the Carry Flag as a 1-Bit Accumulator..........................................................................................2-21 Chapter 3 Addressing Modes Initializing the EMB and ERB Flags.......................................................................................................3-3 1-Bit Addressing Modes .......................................................................................................................3-7 4-Bit Addressing Modes .......................................................................................................................3-8 4-Bit Addressing Modes .......................................................................................................................3-9 8-Bit Addressing Modes .......................................................................................................................3-11 Chapter 5 SAM48 Instruction Set Example of the Instruction Redundancy Effect........................................................................................5-3 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-11 Enabling the INTB and INT4 Interrupts ...................................................................................................7-14 Chapter 8 Power-Down Reducing Power Consumption for Key Input Interrupt Processing.............................................................8-5 Chapter 10 I/O Ports Configuring I/O Ports to Input or Output .................................................................................................10-3 Enabling and Disabling I/O Port Pull-Up Resistors ..................................................................................10-4 S3C72K8/P72K8 MICROCONTROLLER xix