Course Outline

Development of C language standards for government: C90, C99, C11/C17, and C2x – new features. Source and header files. Basic data types and their usage in governmental applications. Storage classes and attributes: const, volatile, static, restricted, inline, and others. Preprocessor usage guidelines; comparing macros to inline functions. Coding style best practices for government. Features specific to embedded programming for government systems. Program sections and memory usage optimization.

Programming techniques for government: avoiding unnecessary conversions, limiting ranges and scopes. Introduction to ARM Cortex-M line cores for government applications. Overview of the STM32 microcontroller family for government use. Detailed overview of the hardware utilized in exercises for government training.

Exercises:
1. Understanding the firmware structure for government systems, including the use of types and attributes. Common problems and mistakes related to GPIO programming in governmental contexts.
2. Application of the const attribute and character strings; UART programming for government applications.
3. ADC and multiplexed LED display – utilizing fixed-point arithmetic and state machines. Hardware display refresh via DMA for enhanced performance in government systems.
4. Attendee’s choice: crossplexing display, software-triggered interrupts, or routing the C stdout stream to a physical interface for government use.

 7 Hours

Number of participants


Price per participant

Testimonials (2)

Upcoming Courses

Related Categories