
DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10360_0
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 00.06 — 5 June 2009
807 of 808
continued >>
NXP Semiconductors
UM10360
Chapter 35: LPC17xx Supplementary information
UMULL, UMLAL, SMULL, and SMLAL. . . . . 664
SDIV and UDIV. . . . . . . . . . . . . . . . . . . . . . . 666
Saturating instructions . . . . . . . . . . . . . . . . . 667
SSAT and USAT . . . . . . . . . . . . . . . . . . . . . . 667
Bitfield instructions . . . . . . . . . . . . . . . . . . . . 669
BFC and BFI . . . . . . . . . . . . . . . . . . . . . . . . . 670
SBFX and UBFX. . . . . . . . . . . . . . . . . . . . . . 671
SXT and UXT . . . . . . . . . . . . . . . . . . . . . . . . 672
Branch and control instructions . . . . . . . . . . 674
B, BL, BX, and BLX . . . . . . . . . . . . . . . . . . . 675
CBZ and CBNZ. . . . . . . . . . . . . . . . . . . . . . . 677
IT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 678
TBB and TBH . . . . . . . . . . . . . . . . . . . . . . . . 681
Miscellaneous instructions . . . . . . . . . . . . . . 683
BKPT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 684
CPS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 685
DMB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 686
DSB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 687
ISB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 688
MRS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 689
MSR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 690
NOP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 691
SEV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 692
SVC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 693
WFE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 694
WFI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 695
ARM Cortex-M3 User Guide: Processor . . . 696
Programmers model . . . . . . . . . . . . . . . . . . . 696
Stacks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 696
Core registers . . . . . . . . . . . . . . . . . . . . . . . 697
Exceptions and interrupts . . . . . . . . . . . . . . . 704
Data types. . . . . . . . . . . . . . . . . . . . . . . . . . . 704
Memory model . . . . . . . . . . . . . . . . . . . . . . . 706
Memory regions, types and attributes. . . . . . 706
Memory system ordering of memory accesses . .
707
Behavior of memory accesses . . . . . . . . . . . 708
Software ordering of memory accesses . . . . 708
Bit-banding . . . . . . . . . . . . . . . . . . . . . . . . . . 709
Memory endianness . . . . . . . . . . . . . . . . . . . 712
Synchronization primitives . . . . . . . . . . . . . . 712
Exception model . . . . . . . . . . . . . . . . . . . . . . 715
Exception states . . . . . . . . . . . . . . . . . . . . . . 715
Exception types . . . . . . . . . . . . . . . . . . . . . . 715
Exception handlers . . . . . . . . . . . . . . . . . . . 717
Vector table . . . . . . . . . . . . . . . . . . . . . . . . . 718
Exception priorities. . . . . . . . . . . . . . . . . . . . 718
Interrupt priority grouping. . . . . . . . . . . . . . . 719
Exception entry and return. . . . . . . . . . . . . . 719
Fault handling . . . . . . . . . . . . . . . . . . . . . . . 723
Fault types . . . . . . . . . . . . . . . . . . . . . . . . . 723
Fault escalation and hard faults . . . . . . . . . . 724
Fault status registers and fault address registers
724
Lockup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 725
Power management. . . . . . . . . . . . . . . . . . . 726
Entering sleep mode . . . . . . . . . . . . . . . . . . 726
Wakeup from sleep mode . . . . . . . . . . . . . . 727
The Wakeup Interrupt Controller . . . . . . . . . 727
Power management programming hints . . . 728
ARM Cortex-M3 User Guide: Peripherals . . 729
About the Cortex-M3 peripherals . . . . . . . . . 729
Nested Vectored Interrupt Controller . . . . . . 730
Interrupt Set-enable Registers . . . . . . . . . . . 731
Interrupt Clear-enable Registers . . . . . . . . . 731
Interrupt Set-pending Registers . . . . . . . . . . 732
Interrupt Clear-pending Registers . . . . . . . . 732
Interrupt Active Bit Registers . . . . . . . . . . . . 733
Interrupt Priority Registers . . . . . . . . . . . . . . 733
Software Trigger Interrupt Register . . . . . . . 734
Level-sensitive and pulse interrupts. . . . . . . 734
NVIC design hints and tips. . . . . . . . . . . . . . 735
System control block . . . . . . . . . . . . . . . . . . 737
Auxiliary Control Register . . . . . . . . . . . . . . 737
CPUID Base Register . . . . . . . . . . . . . . . . . 738
Interrupt Control and State Register . . . . . . 738
Vector Table Offset Register . . . . . . . . . . . . 740
Application Interrupt and Reset Control Register.
741
System Control Register . . . . . . . . . . . . . . . 742
Configuration and Control Register . . . . . . . 743
System Handler Priority Registers . . . . . . . . 744
System Handler Control and State Register 745
Configurable Fault Status Register . . . . . . . 747
Hard Fault Status Register . . . . . . . . . . . . . . 751
Memory Management Fault Address Register . .
751
Bus Fault Address Register . . . . . . . . . . . . . 751