Hanna
Sourcecode Batteriemanagementsystem |
Programmable Multilevel Interrupt Controller driver. Mehr ...
gehe zum Quellcode dieser Datei
Typdefinitionen | |
typedef uint8_t | irqflags_t |
Aufzählungen | |
enum | pmic_level { PMIC_LVL_LOW = PMIC_LOLVLEN_bm, PMIC_LVL_MEDIUM = PMIC_MEDLVLEN_bm, PMIC_LVL_HIGH = PMIC_HILVLEN_bm, PMIC_LVL_NMI = PMIC_NMIEX_bp } |
Interrupt level bitmasks. Mehr ... | |
enum | pmic_schedule { PMIC_SCH_FIXED_PRIORITY, PMIC_SCH_ROUND_ROBIN, PMIC_NR_OF_SCHEDULES } |
Interrupt scheduling schemes. Mehr ... | |
enum | pmic_vector { PMIC_VEC_APPLICATION, PMIC_VEC_BOOT, PMIC_NR_OF_VECTORS } |
Interrupt vector locations. Mehr ... | |
Funktionen | |
static bool | cpu_irq_is_enabled_flags (irqflags_t flags) |
static void | cpu_irq_restore (irqflags_t flags) |
static irqflags_t | cpu_irq_save (void) |
static void | pmic_disable_level (enum pmic_level level) |
Disable interrupts with specified level(s). Mehr ... | |
static void | pmic_enable_level (enum pmic_level level) |
Enable interrupts with specified level(s). Mehr ... | |
static enum pmic_level | pmic_get_enabled_levels (void) |
Get currently enabled level(s) Mehr ... | |
static void | pmic_init (void) |
Initialize the PMIC. Mehr ... | |
static bool | pmic_level_is_enabled (enum pmic_level level) |
Check if specified interrupt level(s) is enabled. Mehr ... | |
static bool | pmic_level_is_executing (enum pmic_level level) |
Check if an interrupt level(s) is currently executing. Mehr ... | |
static void | pmic_set_scheduling (enum pmic_schedule schedule) |
Set interrupt scheduling for low-level interrupts. Mehr ... | |
static void | pmic_set_vector_location (enum pmic_vector vector) |
Set location of interrupt vectors. Mehr ... | |
Programmable Multilevel Interrupt Controller driver.
Copyright (c) 2010-2015 Atmel Corporation. All rights reserved.
Definiert in Datei pmic.h.