Newnеs, 2011. — 529 p.
It is an exciting time to be a microcontroller user. A growing range of ARM Cortex-M devices are available from many vendors, spanning a broad range of applications. Users who are familiar with 8-bit and 16-bit microcontrollers and are moving to ARM Cortex-Mebased devices are surprised at just how easy they are to use and, with the introduction of ARM Cortex-M0 devices, how low-cost and efficient 32-bit microcontrollers have become.
So I was delighted that Joseph Yiu chose to write a guide for the users of these ARM Cortex-M0 devices. As a technical authority on the ARM Cortex-M family and a formative 8-bit user, Joseph is uniquely placed to guide users new to ARM Cortex microcontrollers on their first transition steps, and to impart detailed knowledge about the Cortex-M0 to the advanced user.
Foreword
Conventions
Terms and Abbreviations
Cortex-M0 Technical Overview
Architecture
Introduction to Cortex-M0 Programming
Instruction Set
Instruction Usage Examples
Memory System
Exceptions and Interrupts
Interrupt Control and System Control
Operating System Support Features
Low-Power Features
Fault Handling
Debug Features
Getting Started with Keil MDK
Simple Application Programming
Assembly Projects and Mixed-Assembly and C Projects
Using Low-Power Features in Programming
Using SVC, PendSV, and Keil RTX Kernel
Getting Started with the ARM RealView Development Suite
Getting Started with the GNU C Compiler
Software Porting
Cortex-M0 Products
AppendixsInstruction Set Summary
Cortex-M0 Exception Type Quick Reference
CMSIS Quick Reference
SCB, and SysTick Registers Quick Reference
Debug Registers Quick Reference
Debug Connector Arrangement
Linker Script for CodeSourcery G++ Lite
Example Code Files
Troubleshooting