STM32 RTOS 0.2.3
Bare-metal preemptive RTOS for STM32F446RE
Loading...
Searching...
No Matches
NvicRegisters_t Struct Reference

NVIC register block. More...

#include <nvic_reg.h>

Data Fields

volatile uint32_t ISER [8]
 0x000: set-enable, write 1 to enable
volatile uint32_t RESERVED0 [24]
 0x020-0x07C: reserved
volatile uint32_t ICER [8]
 0x080: clear-enable, write 1 to disable
volatile uint32_t RESERVED1 [24]
 0x0A0-0x0FC: reserved
volatile uint32_t ISPR [8]
 0x100: set-pending, write 1 to pend
volatile uint32_t RESERVED2 [24]
 0x120-0x17C: reserved
volatile uint32_t ICPR [8]
 0x180: clear-pending, write 1 to un-pend
volatile uint32_t RESERVED3 [24]
 0x1A0-0x1FC: reserved
volatile const uint32_t IABR [8]
 0x200: active, ro
volatile uint32_t RESERVED4 [56]
 0x220-0x2FC: reserved
volatile uint8_t IP [240]
 0x300: priority, one byte per interrupt
volatile uint32_t RESERVED5 [644]
 0x3F0-0xDFC: reserved
volatile uint32_t STIR
 0xE00: software trigger, wo

Detailed Description

NVIC register block.

The banks sit 32 words apart whatever the chip implements; the RESERVED members are those architectural gaps. Interrupt n is bit n % 32 of word n / 32 in ISER, ICER, ISPR, ICPR and IABR, and byte n of IP.

Definition at line 28 of file nvic_reg.h.

Field Documentation

◆ ISER

volatile uint32_t NvicRegisters_t::ISER[8]

0x000: set-enable, write 1 to enable

Definition at line 30 of file nvic_reg.h.

Referenced by nvicEnableIrq().

◆ RESERVED0

volatile uint32_t NvicRegisters_t::RESERVED0[24]

0x020-0x07C: reserved

Definition at line 31 of file nvic_reg.h.

◆ ICER

volatile uint32_t NvicRegisters_t::ICER[8]

0x080: clear-enable, write 1 to disable

Definition at line 32 of file nvic_reg.h.

Referenced by nvicDisableIrq().

◆ RESERVED1

volatile uint32_t NvicRegisters_t::RESERVED1[24]

0x0A0-0x0FC: reserved

Definition at line 33 of file nvic_reg.h.

◆ ISPR

volatile uint32_t NvicRegisters_t::ISPR[8]

0x100: set-pending, write 1 to pend

Definition at line 34 of file nvic_reg.h.

Referenced by nvicSetPending().

◆ RESERVED2

volatile uint32_t NvicRegisters_t::RESERVED2[24]

0x120-0x17C: reserved

Definition at line 35 of file nvic_reg.h.

◆ ICPR

volatile uint32_t NvicRegisters_t::ICPR[8]

0x180: clear-pending, write 1 to un-pend

Definition at line 36 of file nvic_reg.h.

Referenced by nvicClearPending().

◆ RESERVED3

volatile uint32_t NvicRegisters_t::RESERVED3[24]

0x1A0-0x1FC: reserved

Definition at line 37 of file nvic_reg.h.

◆ IABR

volatile const uint32_t NvicRegisters_t::IABR[8]

0x200: active, ro

Definition at line 38 of file nvic_reg.h.

◆ RESERVED4

volatile uint32_t NvicRegisters_t::RESERVED4[56]

0x220-0x2FC: reserved

Definition at line 39 of file nvic_reg.h.

◆ IP

volatile uint8_t NvicRegisters_t::IP[240]

0x300: priority, one byte per interrupt

Definition at line 40 of file nvic_reg.h.

Referenced by nvicGetPriority(), and nvicSetPriority().

◆ RESERVED5

volatile uint32_t NvicRegisters_t::RESERVED5[644]

0x3F0-0xDFC: reserved

Definition at line 41 of file nvic_reg.h.

◆ STIR

volatile uint32_t NvicRegisters_t::STIR

0xE00: software trigger, wo

Definition at line 42 of file nvic_reg.h.


The documentation for this struct was generated from the following file: