Bare-Metal Embedded C Programming: Develop high-performance embedded systems with C for Arm microcontrollers

Gbati, Israel, Papanikolaou, Georgios

  • 出版商: Packt Publishing
  • 出版日期: 2024-09-30
  • 售價: $1,740
  • 貴賓價: 9.5$1,653
  • 語言: 英文
  • 頁數: 438
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 183546081X
  • ISBN-13: 9781835460818
  • 相關分類: ARMC 程式語言嵌入式系統單晶片
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Become proficient in designing and developing embedded systems and reduce reliance on third-party libraries

Key Features:

- Learn to develop bare-metal firmware for Arm microcontrollers from scratch

- Understand hardware intricacies to minimize your dependency on third-party libraries

- Navigate microcontroller manuals with ease and learn to write optimized code

- Purchase of the print or Kindle book includes a free PDF eBook

Book Description:

Bare-Metal Embedded C Programming takes you on an unparalleled journey to equip you with the skills and knowledge to excel in the world of embedded systems. The author, with over a decade of hands-on experience in engineering, takes a unique, practical approach to teach you how to decode microcontroller datasheets so that you're able to extract vital information for precise firmware development. Register manipulation will become second nature to you as you learn to craft optimized code from scratch.

The book provides in-depth insights into the hardware intricacies of microcontrollers. You'll navigate user manuals and documentation with ease, ensuring a profound understanding of the underlying technology. The true uniqueness of this book lies in its commitment to fostering independent expertise. Instead of simply copy pasting, you'll develop the capability to create firmware with confidence, paving the way for professional-grade mastery.

By the end of this book, you'll have honed your skills in reading datasheets, performing register manipulations, and crafting optimized code, as well as gained the confidence needed to navigate hardware intricacies and write optimized firmware independently, making you a proficient and self-reliant embedded systems developer.

What You Will Learn:

- Decode microcontroller datasheets, enabling precise firmware development

- Master register manipulations for optimized Arm-based microcontroller firmware creation

- Discover how to navigate hardware intricacies confidently

- Find out how to write optimized firmware without any assistance

- Work on exercises to create bare-metal drivers for GPIO, timers, ADC, UART, SPI, I2C, DMA, and more

- Design energy-efficient embedded systems with power management techniques

Who this book is for:

Whether you're an experienced engineer seeking in-depth expertise in decoding datasheets, precise register manipulations, and creating firmware from scratch, or a software developer transitioning to the embedded systems domain, this book is your comprehensive guide. It equips you with the practical skills needed for confident, independent firmware development, making it an essential resource for professionals and enthusiasts in the field.

Table of Contents

- Setting Up the Tools of the Trade

- Constructing Peripheral Registers from Memory Addresses

- Understanding the Build Process and Exploring the GNU Toolchain

- Developing the Linker Script and Startup File

- The "Make" Build System

- The Common Microcontroller Software Interface Standard (CMSIS)

- The General-Purpose Input/Output (GPIO) Peripheral

- System Tick (SysTick) Timer

- General-Purpose Timers (TIM)

- The Universal Asynchronous Receiver/Transmitter Protocol

- Analog-to-Digital Converter (ADC)

- Serial Peripheral Interface (SPI)

- Inter-Integrated Circuit (I2C)

- External Interrupts and Events (EXTI)

- The Real-Time Clock (RTC)

- Independent Watchdog (IWDG)

- Direct Memory Access (DMA)

- Power Management and Energy Efficiency in Embedded Systems

商品描述(中文翻譯)

**掌握嵌入式系統設計與開發,減少對第三方函式庫的依賴**

**主要特色:**
- 從零開始學習為 Arm 微控制器開發裸金屬韌體
- 理解硬體細節,以最小化對第三方函式庫的依賴
- 輕鬆瀏覽微控制器手冊,學習撰寫優化的程式碼
- 購買印刷版或 Kindle 版書籍可獲得免費 PDF 電子書

**書籍描述:**
《裸金屬嵌入式 C 程式設計》帶您踏上無與倫比的旅程,讓您具備在嵌入式系統領域中脫穎而出的技能與知識。作者擁有超過十年的工程實務經驗,採取獨特且實用的方法教您如何解讀微控制器數據手冊,以便提取關鍵資訊以進行精確的韌體開發。當您學會從零開始撰寫優化的程式碼時,寄存器操作將變得如同本能。

本書深入探討微控制器的硬體細節。您將輕鬆瀏覽使用手冊和文檔,確保對底層技術有深刻的理解。本書的真正獨特之處在於其致力於培養獨立的專業能力。您將不僅僅是複製和粘貼,而是能夠自信地創建韌體,為專業級的精通鋪平道路。

在本書結束時,您將磨練閱讀數據手冊、執行寄存器操作和撰寫優化程式碼的技能,並獲得獨立導航硬體細節和撰寫優化韌體所需的信心,使您成為一名熟練且自給自足的嵌入式系統開發者。

**您將學到的內容:**
- 解讀微控制器數據手冊,實現精確的韌體開發
- 精通寄存器操作,以創建優化的 Arm 基礎微控制器韌體
- 自信地探索硬體細節
- 獨立撰寫優化韌體
- 完成練習以創建 GPIO、計時器、ADC、UART、SPI、I2C、DMA 等的裸金屬驅動程式
- 設計具能源效率的嵌入式系統,運用電源管理技術

**本書適合誰:**
無論您是尋求深入專業知識的經驗工程師,還是轉型至嵌入式系統領域的軟體開發者,本書都是您的全面指南。它為您提供自信、獨立韌體開發所需的實用技能,成為該領域專業人士和愛好者的重要資源。

**目錄:**
- 設置行業工具
- 從記憶體地址構建外圍寄存器
- 理解構建過程並探索 GNU 工具鏈
- 開發鏈接器腳本和啟動檔
- 'Make' 構建系統
- 通用微控制器軟體介面標準 (CMSIS)
- 通用輸入/輸出 (GPIO) 外圍設備
- 系統滴答 (SysTick) 計時器
- 通用計時器 (TIM)
- 通用非同步接收器/發送器協議
- 模擬到數位轉換器 (ADC)
- 串行外圍介面 (SPI)
- 內部集成電路 (I2C)
- 外部中斷和事件 (EXTI)
- 實時時鐘 (RTC)
- 獨立看門狗 (IWDG)
- 直接記憶體存取 (DMA)
- 嵌入式系統中的電源管理與能源效率