STM32G0 MCAL 0.0.1
Tiny MCAL for educational purpose.
Loading...
Searching...
No Matches
Nvic_Types.h File Reference

Nvic Driver More...

Go to the source code of this file.

Macros

#define NVIC_ID_SET_PRIORITY   0x00u
 
#define NVIC_ID_GET_PRIORITY   0x01u
 
#define NVIC_ID_ENABLE_IRQ   0x02u
 
#define NVIC_ID_DISABLE_IRQ   0x03u
 
#define NVIC_ID_GET_PENDING_IRQ   0x04u
 
#define NVIC_ID_SET_PENDING_IRQ   0x05u
 
#define NVIC_ID_CLEAR_PENDING_IRQ   0x06u
 
#define NVIC_ID_NMI_HANDLER   0x07u
 
#define NVIC_ID_HARDFAULT_HANDLER   0x08u
 
#define NVIC_E_PARAM_IRQ   0x01u
 
#define NVIC_E_PARAM_PRIORITY   0x02u
 
#define NVIC_E_NMI_ENTRY   0x03u
 
#define NVIC_E_HARDFAULT_ENTRY   0x04u
 

Detailed Description

Nvic Driver

Author
Diego Perez

The header contains the type definitions that are used by the Can module. The file is implemnted as a means of abstraction from the hardware, this way we can avoid to include Arch headers in the actual driver header, making the low level interfaces available for upper layers.