更新时间:2021-07-16 12:44:02
封面
版权信息
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Chapter 1. A Practical Introduction to ARM CORTEX
Introduction
Installing uVision5
Linking an evaluation board
Running an example program
Writing a simple program
Understanding the simple use of GPIO
Estimating microcontroller performance
Chapter 2. C Language Programming
Configuring the hardware abstraction layer
Writing a C program to blink each LED in turn
Writing a function
Writing to the console window
Writing to the GLCD
Creating a game application – Stage 1
Creating a game application – Stage 2
Debugging your code using print statements
Using the debugger
Chapter 3. Programming I/O
Performing arithmetic operations
Illustrating machine storage classes
Configuring GPIO ports
Configuring UART ports
Handling interrupts
Using timers to create a digital clock
Chapter 4. Assembly Language Programming
Writing Cortex-M4 assembly language
Passing parameters between C and the assembly language
Handling interrupts in assembly language
Implementing a jump table
Debugging assembly language
Chapter 5. Data Conversion
Setting up the ADC
Configuring general-purpose timers
Using timers to trigger conversions
Setting up the DAC
Generating a sine wave
Chapter 6. Multimedia Support
Setting the RTE for the I2C Peripheral Bus
How to use the LCD touchscreen
Writing a driver for the audio codec
How to use the audio codec
How to use the camera
Designing bitmapped graphics
Ideas for games using sound and graphics
Chapter 7. Real-Time Signal Processing
Configuring the audio codec
How to play prerecorded audio
Designing a low-pass digital filter
How to make an audio tone control
Chapter 8. Real-Time Embedded Systems
Multithreaded programs using event flags
Multithreaded programs using mailboxes
Why ensuring mutual exclusion is important when accessing shared resources
Why we must use a mutex to access the GLCD
How to write a multithreaded Pong game
Debugging programs that use CMSIS-RTOS
Chapter 9. Embedded Toolchain
Installing GNU ARM Eclipse
Programming the MCBSTM32F400 evaluation board
How to use the STM32CubeMX Framework (API)
How to port uVision projects to GNU ARM Eclipse
Index