Bouffalo SDK
1.0
Bouffalolab Software Development Kit
|
#include "stdint.h"
Go to the source code of this file.
Data Structures | |
struct | bflb_irq_info_s |
IRQ configuration structure. More... | |
Typedefs | |
typedef void(* | irq_callback) (int irq, void *arg) |
Functions | |
void | bflb_irq_initialize (void) |
Interrupt initialize. More... | |
uintptr_t | bflb_irq_save (void) |
Disable global irq and save the previous status. More... | |
void | bflb_irq_restore (uintptr_t flags) |
Enable global irq by the previous status. More... | |
int | bflb_irq_attach (int irq, irq_callback isr, void *arg) |
Attach interrupt with callback. More... | |
int | bflb_irq_detach (int irq) |
Detach interrupt, reset interrupt callback. More... | |
void | bflb_irq_enable (int irq) |
Enable interrupt. More... | |
void | bflb_irq_disable (int irq) |
Disable interrupt. More... | |
void | bflb_irq_set_pending (int irq) |
Set interrupt with pending. More... | |
void | bflb_irq_clear_pending (int irq) |
Clear interrupt pending status. More... | |
void | bflb_irq_set_nlbits (uint8_t nlbits) |
Set interrupt group. More... | |
void | bflb_irq_set_priority (int irq, uint8_t preemptprio, uint8_t subprio) |
Set interrupt priority. More... | |