Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Embedded C++ Design Patterns: Professional Techniques for Robust Firmware
Introduction
Welcome(Same as Promo) (1:47)
Course Requirements
IMPORTANT: About the Course Content (2:42)
Introduction to Design Patterns
Introduction to Design Patterns (2:51)
Importance of Design Patterns in Embedded Systems (3:01)
Differences between Embedded and General Software Design Patterns (5:37)
Introduction to the Unified Modeling Language(UML)
The Module Notation (4:10)
Understanding Module Relationships(Pt.1) (3:25)
Understanding Module Relationships(Pt.2) (2:52)
The Gang of Four
Overview of the Gang of Four(GoF) (1:35)
Categories of the GoF Design Patterns (1:08)
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)
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)
The Singleton Design Pattern in C++
Programming: Updating the Workspace (1:11)
Overview of the Singleton Design Pattern (1:50)
Programming: Implementing the Class Private Members (8:36)
Programming: Implementing the Class Public Members (6:34)
Programming: Implementing the Constructor (11:46)
Programming: Implementing the setBaudrate() Method (2:10)
Programming: Implementing the Rest of the Methods (5:00)
Programming: Testing the Singleton Pattern (5:46)
The Builder Design Pattern in C++
Overview of the Builder Design Pattern (2:15)
Components of the Builder Pattern (2:18)
Programming: Implementing the Builder Class Public Members (8:52)
Programming: Implementing the UART Class Public Members (2:18)
Programming: Implementing the Builder Class Private Members (2:18)
Programming: Implementing the UART Class Constructor (5:54)
Programming: Adding the Constants (0:56)
Programming: Implementing the UART Constructor (5:54)
Programming: Implementing the Initialization Method (10:56)
Programming: Implementing the Methods for Configuring the BaudRate (2:08)
Programming: Implementing the UART write() Method (1:30)
Programming: Implementing the Builder Constructor (3:35)
Programming: Implementing the Builder Configuration Methods (3:25)
Programming: Implementing the build() Method (2:13)
Programming: Testing the Builder Pattern (10:32)
The Hardware Proxy Design Pattern in C++
Introduction to the Hardware-Proxy Design Pattern (2:33)
Why and When to Use Hardware-Proxy Design Pattern (2:35)
Programming: Implementing the GPIO Interface (5:51)
Programming: Implementing the Real GPIO Interface File (4:13)
Programming: Implementing the Initialization Method (9:57)
Programming: Implementing the Other Methods (6:39)
Programming: Implementing the Secure GPIO Proxy Interface File (8:48)
Programming: Implementing the Constructor and setPin() Method (4:42)
Programming: Implementing the Rest of the Methods (4:03)
Programming: Testing the GPIO Hardware Proxy for Secure Access (18:17)
The STATE Design Pattern in C++
Programming: The State Abstract Class (5:51)
Introduction to the STATE Design Pattern (3:14)
Programming: Implementing the Traffic Light Controller Interface (4:35)
Programming: The Implementation File (3:31)
Programming: The Interface File for the Red State (7:10)
Programming: The Implementation File for the Red State (3:59)
Programming: Implementing the Green State (3:52)
Programming: Implementing the Yellow State (3:15)
Programming: Implementing the Yellow State
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock