vectors_qn908x.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2020 iosabi
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser General
5  * Public License v2.1. See the file LICENSE in the top level directory for more
6  * details.
7  */
8 
21 #ifndef VECTORS_QN908X_H
22 #define VECTORS_QN908X_H
23 
24 #include <stdint.h>
25 #include "vectors_cortexm.h"
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
34 void dummy_handler(void);
35 
36 /* Device specific interrupt vectors */
37 void isr_ext_gpio_wakeup(void);
38 void isr_osc(void);
39 void isr_acmp0(void);
40 void isr_acmp1(void);
41 void isr_rtc_sec(void);
42 void isr_rtc_fr(void);
43 void isr_cs_wakeup(void);
44 void isr_cs(void);
45 void isr_gpioa(void);
46 void isr_gpiob(void);
47 void isr_dma0(void);
48 void isr_pin_int0(void);
49 void isr_pin_int1(void);
50 void isr_pin_int2(void);
51 void isr_pin_int3(void);
52 void isr_osc_int_low(void);
53 void isr_usb0(void);
54 void isr_flexcomm0(void);
55 void isr_flexcomm1(void);
56 void isr_flexcomm2(void);
57 void isr_flexcomm3(void);
58 void isr_ble(void);
59 void isr_fsp(void);
60 void isr_qdec0(void);
61 void isr_qdec1(void);
62 void isr_ctimer0(void);
63 void isr_ctimer1(void);
64 void isr_ctimer2(void);
65 void isr_ctimer3(void);
66 void isr_wdt(void);
67 void isr_adc(void);
68 void isr_dac(void);
69 void isr_xtal_ready(void);
70 void isr_flash(void);
71 void isr_spifi0(void);
72 void isr_sct0(void);
73 void isr_rng(void);
74 void isr_calib(void);
75 void isr_ble_tx(void);
76 void isr_ble_rx(void);
77 void isr_ble_freq_hop(void);
78 void isr_bod(void);
89 __attribute__((section(".vectors.100")))
90 extern const uint32_t isp_configuration;
91 
95 #define QN908X_ISP_SMART_EN 0x80
96 
100 #define QN908X_ISP_USB_DIS 0x20
101 
105 #define QN908X_ISP_UART_DIS 0x08
106 
110 #define QN908X_ISP_SPI_DIS 0x02
111 
114 #ifdef __cplusplus
115 } /* extern "C" */
116 #endif
117 
118 #endif /* VECTORS_QN908X_H */
Default interrupt vectors shared by Cortex-M based CPUs.
void isr_ctimer3(void)
Standard counter/timer CTIMER3.
void isr_ble_freq_hop(void)
ble frequency hop
void isr_pin_int3(void)
pin or pattern match engine slice 3
void isr_calib(void)
Calibration.
void isr_ctimer0(void)
Standard counter/timer CTIMER0.
void isr_wdt(void)
Watch dog timer.
void isr_fsp(void)
FSP.
void isr_flash(void)
Flash.
void isr_dma0(void)
DMA controller.
void isr_pin_int2(void)
pin or pattern match engine slice 2
void isr_pin_int0(void)
pin or pattern match engine slice 0
void isr_adc(void)
ADC.
const uint32_t isp_configuration
In-System Programming configuration field.
void isr_ctimer1(void)
Standard counter/timer CTIMER1.
void isr_rng(void)
Random number generator.
void isr_cs_wakeup(void)
Capacitive sense wakeup.
void isr_spifi0(void)
SPI flash interface.
void isr_bod(void)
Brown out detect.
void isr_cs(void)
Capacitive sense.
void isr_ctimer2(void)
Standard counter/timer CTIMER2.
void isr_osc_int_low(void)
Inverse of OSC.
void isr_sct0(void)
SCTimer/PWM.
void isr_qdec0(void)
QDEC0.
void isr_usb0(void)
USB device.
void isr_rtc_fr(void)
RTC free running.
void isr_acmp0(void)
Analog comparator0.
void isr_ble_rx(void)
ble rx flag
void isr_ble_tx(void)
ble tx flag
void isr_ext_gpio_wakeup(void)
Ext GPIO wakeup.
void isr_flexcomm0(void)
Flexcomm Interface 0 (USART)
void isr_flexcomm1(void)
Flexcomm Interface 1 (USART, I2C)
void isr_osc(void)
BLE wakeup.
void isr_gpioa(void)
GPIO group A.
void isr_gpiob(void)
GPIO group B.
void isr_dac(void)
DAC.
void isr_ble(void)
BLE interrupts.
void isr_rtc_sec(void)
RTC second.
void isr_pin_int1(void)
pin or pattern match engine slice 1
void isr_flexcomm3(void)
Flexcomm Interface 3 (SPI)
void isr_xtal_ready(void)
High frequency crystal ready.
void isr_flexcomm2(void)
Flexcomm Interface 2 (SPI, I2C)
void isr_acmp1(void)
Analog comparator1.
void isr_qdec1(void)
QDEC1.
void dummy_handler(void)
Dummy handler.