Embedded Systems with ARM Cortex-M Microcontrollers in Assembly Language and C, 3/e (Paperback)

Yifeng Zhu

買這商品的人也買了...

商品描述


Significant changes in the third edition include updated serial communication description (UART, SPI, and I2C), new serial communication examples, incorporation of GNU gcc compiler, low power modes, modification of example programs from STM32L1 (Cortex-M3) to STM32L4 (Cortex-M4).

The book introduces basic programming of ARM Cortex-M cores in assembly and C at the register level, and the fundamentals of embedded system design. It presents basic concepts such as data representations (integer, fixed-point, floating-point), assembly instructions, stack, and implementing basic controls and functions of C language at the assembly level. It covers advanced topics such as interrupts, mixing C and assembly, direct memory access (DMA), system timers (SysTick), multi-tasking, SIMD instructions for digital signal processing (DSP), and instruction encoding/decoding. The book also gives detailed examples of interfacing peripherals, such as general purpose I/O (GPIO), LCD driver, keypad interaction, stepper motor control, PWM output, timer input capture, DAC, ADC, real-time clock (RTC), and serial communication (USART, I2C, SPI, and USB).

商品描述(中文翻譯)

第三版的重大改變包括更新了串行通信描述(UART、SPI和I2C),新增了串行通信的範例,引入了GNU gcc編譯器,介紹了低功耗模式,並將示例程序從STM32L1(Cortex-M3)修改為STM32L4(Cortex-M4)。

本書介紹了在組合語言和C語言中以寄存器級別進行ARM Cortex-M核心的基本編程,以及嵌入式系統設計的基礎知識。它介紹了基本概念,如數據表示(整數、定點、浮點)、組合語言指令、堆棧,以及在組合語言級別實現C語言的基本控制和函數。它涵蓋了高級主題,如中斷、C語言和組合語言的混合編程、直接內存訪問(DMA)、系統定時器(SysTick)、多任務處理、用於數字信號處理(DSP)的SIMD指令,以及指令編碼/解碼。本書還提供了詳細的外設接口示例,如通用I/O(GPIO)、LCD驅動程序、鍵盤交互、步進馬達控制、PWM輸出、定時器輸入捕獲、DAC、ADC、實時時鐘(RTC)和串行通信(USART、I2C、SPI和USB)。