Skip to main content
cristian23
Associate
September 11, 2008
Question

NVIC Registers STM32F103RB

  • September 11, 2008
  • 2 replies
  • 781 views
Posted on September 11, 2008 at 05:51

NVIC Registers STM32F103RB

    This topic has been closed for replies.

    2 replies

    cristian23
    Associate
    May 17, 2011
    Posted on May 17, 2011 at 12:44

    Hi

    I would like to know in wich file .h or .c are defined or declared the NVIC registers ( e.g. ISER, ICER, ICSR, ... ) used in the file stm32f10x_nvic.c in the library. I can find only the structs ( in stm32f10x_map.h ) :

    typedef struct

    {

    vu32 Enable[2];

    u32 RESERVED0[30];

    vu32 Disable[2];

    u32 RSERVED1[30];

    vu32 Set[2];

    u32 RESERVED2[30];

    vu32 Clear[2];

    u32 RESERVED3[30];

    vu32 Active[2];

    u32 RESERVED4[62];

    vu32 Priority[11];

    } NVIC_TypeDef;

    typedef struct

    {

    vu32 CPUID;

    vu32 IRQControlState;

    vu32 ExceptionTableOffset;

    vu32 AIRC;

    vu32 SysCtrl;

    vu32 ConfigCtrl;

    vu32 SystemPriority[3];

    vu32 SysHandlerCtrl;

    vu32 ConfigFaultStatus;

    vu32 HardFaultStatus;

    vu32 DebugFaultStatus;

    vu32 MemoryManageFaultAddr;

    vu32 BusFaultAddr;

    } SCB_TypeDef;

    Thanks to all of you

    bye

    michaellange9
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 12:44

    Hi,

    have a look at infocenter.arm.com/help/topic/com.arm.doc.ddi0337e/DDI0337E_cortex_m3_r1p1_trm.pdf page 147.

    I wrote a summary some time ago. Maybe it helps you.

    Michael