2018 | OriginalPaper | Chapter
Accessing Microcontroller Registers
Activate our intelligent search to find suitable subject content or patents.
Select sections of text to find matching patents with Artificial Intelligence. powered by
Select sections of text to find additional relevant content using AI-assisted search. powered by
Microcontroller programming requires efficient techniques for register access. Registers are used to configure the CPU and peripheral hardware devices such as flash access, clocks, I/O ports, timers, communication interfaces (UART, SPI, CAN (ISO, ISO 11898-1:2003: road vehicles—controller area network (CAN)—Part 1: data link layer and physical signaling. International Organization for Standardization, Geneva, 2003)), etc. This chapter describes C++ methods that can be used to manipulate microcontroller registers. The focus of this chapter is placed on template methods that provide for efficient, scalable and nearly portable register access.