STM32 Microcontroller Development

  1. Interrupts and Exception Handling
    1. Nested Vectored Interrupt Controller (NVIC)
      1. NVIC Architecture
        1. NVIC Registers
          1. Interrupt Set-Enable Registers (ISER)
            1. Interrupt Clear-Enable Registers (ICER)
              1. Interrupt Priority Registers (IPR)
              2. Interrupt Priority System
                1. Preemption Priority
                  1. Subpriority
                    1. Priority Grouping
                    2. Interrupt States
                      1. Pending State
                        1. Active State
                          1. Inactive State
                        2. Exception Handling
                          1. Exception Types
                            1. Reset
                              1. Non-Maskable Interrupt (NMI)
                                1. Hard Fault
                                  1. Memory Management Fault
                                    1. Bus Fault
                                      1. Usage Fault
                                      2. Vector Table
                                        1. Vector Table Structure
                                          1. Vector Table Relocation
                                          2. Exception Entry and Exit
                                            1. Stack Frame Creation
                                              1. Register Saving
                                                1. Return Sequences
                                              2. Interrupt Service Routines (ISRs)
                                                1. ISR Implementation
                                                  1. Function Attributes
                                                    1. Naming Conventions
                                                    2. ISR Best Practices
                                                      1. Execution Time Minimization
                                                        1. Reentrancy Considerations
                                                          1. Critical Section Management
                                                          2. Flag Management
                                                            1. Interrupt Flag Clearing
                                                              1. Spurious Interrupt Prevention
                                                            2. System Tick Timer (SysTick)
                                                              1. SysTick Configuration
                                                                1. Clock Source Selection
                                                                  1. Reload Value Setting
                                                                  2. SysTick Applications
                                                                    1. System Timebase Generation
                                                                      1. Delay Functions
                                                                        1. Task Scheduling
                                                                        2. SysTick Interrupt Handling
                                                                          1. Handler Implementation
                                                                            1. Timing Accuracy