Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Advanced Embedded Object-Oriented Programming in C++
Introduction
Welcome(Same as Promo) (2:35)
Course Requirements
IMPORTANT: About the Generic Drivers Section (1:52)
Introduction to Embedded Object-Oriented Programming (OOP) in C++
Object-Oriented Programming in Large Scale Embedded Firmware Projects (2:13)
Misconceptions About OOP Overhead in Microcontrollers (3:54)
When to Use Object-Oriented Programming (2:30)
When to Use Procedural Programming (2:43)
How C++ Features Impact Flash, RAM and Execution Speed (5:28)
Microcontroller Constraints & Object-Oriented Programming Optimization
Why Dynamic Memory Allocation is Discrouraged (4:44)
Why Transition from Procedural C to Object-Oriented Programming (2:28)
Setting Up
Downloading CubeIDE (2:34)
Installing CubeIDE (2:38)
Getting the required documentation (7:41)
Getting the required package for bare-metal development (21:19)
Testing the project setup (15:54)
Source Code Download
Developing Some Generic Drivers for Running Examples
Important information about this section
Programming : Enabling the Floating Point Unit (FPU) (18:00)
Programming : Developing a UART Driver - Analyzing the Documentation (11:35)
Programming : Developing a UART Driver - Listing out the steps (4:00)
Programming : Developing a UART Driver - Implementing the Init. function (22:13)
Programming : Developing a UART Driver - Implementing the Write function (5:39)
Programming : Developing a UART Driver - Testing the Driver (6:39)
Programming : Developing the System Timebase - Analyzing the Documentation (8:28)
Programming : Developing the System Timebase - Implementing the Init. function (9:52)
Programming : Developing the System Timebase - The rest of the functions (12:15)
Programming : Developing the System Timebase - Testing the Timebase (5:34)
Programming : BSP : Listing the out the Required Functions (7:55)
Programming : Writing the LED Driver (5:01)
Programming : Writing the PushButton Driver (4:00)
Programming : Testing the Board Support Package (3:35)
Programming : Analyzing the Documentation (5:21)
Programming : Listing out the steps for developing the ADC Driver (5:27)
Programming : Writing the ADC Initialization function (13:21)
Programming : Writing the ADC Read function (14:05)
Programming : Analyzing the Documentation for the SPI Driver (7:34)
Programming : Intializing the GPIO Pins for SPI (11:00)
Programming : Implementaing Structures for Configruation Parameters (15:29)
Programming : Configuring the Parameters (15:41)
Programming : Writing the SPI Initialization function (14:55)
Programming : Writing the SPI Transmit Function (Pt.1) (9:27)
Programming : Writing the SPI Transmit Function (Pt.2) (10:26)
Programming : Transmitting 16-bit Data (17:54)
Programming : Transmitting 8-bit Data (6:46)
Programming : Receiving Data (11:05)
Programming : Testing the SPI Driver (15:47)
Programming : Analyzing the Documentation for the I2C Driver (10:47)
Programming : I2C : The GPIO Initialization (10:35)
Programming : Configuring the I2C Parameters (10:22)
Programming : Implementing the I2C Read function (13:44)
Programming : Implementing the I2C Burst Read function (7:25)
Programming : Implementing the I2C Write functions (10:17)
Transitioning from Procedural C to OOP in Embedded Firmware
Principles for Refactoring Embedded C Code to Embedded C++ (1:07)
Developing Peripheral Drivers Using C++ Classes
Basic Structure of a Peripheral Driver Class (0:57)
Understanding Constructor and Destructor Based Resource Management (2:56)
Encapsulating with Getter and Setter Methods (4:10)
Why Direct Memory Access Needs Encapsulation (0:54)
Understanding RAII (Resource Acquisition Is Initialization) (4:25)
Developing the GPIO C++ Class Driver
Programming: Updating the Workspace (1:05)
Programming: Configuring the Project Paths for C++ Development (5:46)
Programming: Implementing the Private Members of the Class (6:22)
Programming: Implementing the Class Constructor (10:33)
Programming: Implementing the Pin Control Methods (4:35)
Programming: Testing the GPIO Class (5:14)
Programming: Having Separate Interface and Implementation Files (8:58)
Developing the UART C++ Class Driver
Programming: Implementing the Private Members (4:42)
Programming: Implementing the Class Constructor (5:28)
Programming: Implementing the Public Methods (2:42)
Programming: Testing the UART Class (2:05)
Developing the FPU C++ Class Driver
Programming: Implementing the FPU Class Driver (4:10)
Developing the SysTick Timer C++ Class Driver
Programming: Implementing the Interface File (4:28)
Programming: Implementing the SysTick Class Driver (7:29)
Developing the ADC C++ Class Driver
Programming: Implementing the Private Members (5:09)
Programming: Implementing the Class Constructor (3:44)
Programming; Implementing the Initialization Method (7:13)
Programming: Implementing the ADC Read Method (1:54)
Programming: Testing the ADC Class (7:33)
Developing the SPI and Accelerometer C++ Class Drivers
Programming: Analyzing the SPI Embedded-C Driver (7:15)
Programming: Analyzing the ADXL345 Embedded-C Driver (7:12)
Programming: Implementing the Interface File (7:49)
Programming: Implementing the SPI Class Constructor (14:04)
Programming: Implementing the Other Private Methods (3:18)
Programming: Implementing the Transmit Method (4:11)
Programming: Implementing the Receive and Chip Select Methods (3:16)
Programming: Implementing the ADXL345 Class- Private Members (5:35)
Programming: Implementing the ADXL345 Class- Public Members (5:48)
Programming: Implementing the Class Constructor (3:34)
Programming: Implementing the writeRegister( ) Method (8:29)
Programming: Implementing the readRegister( ) Method (2:48)
Programming: Implementing the ADXL345 Initialization Method (3:08)
Programming: Implementing the updateAccleration( ) Method (2:47)
Programming: Implementing the Methods for Returning Acceleration Data (4:35)
Operator Overloading for Hardware Interaction in Embedded Systems
Programming: Listing out the Operators (4:23)
Programming: Defining the Method Prototypes (2:40)
Programming: Implementing the Methods(Pt.1) (4:53)
Programming: Implementing the Methods(Pt.2) (5:01)
Programming: Testing the GPIO Operator Implementation (5:05)
When to Use Object-Oriented Programming
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock