Loading...
Searching...
No Matches
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
28extern "C" {
29#endif
30
34void dummy_handler(void);
35
36/* Device specific interrupt vectors */
38void isr_osc(void);
39void isr_acmp0(void);
40void isr_acmp1(void);
41void isr_rtc_sec(void);
42void isr_rtc_fr(void);
43void isr_cs_wakeup(void);
44void isr_cs(void);
45void isr_gpioa(void);
46void isr_gpiob(void);
47void isr_dma0(void);
48void isr_pin_int0(void);
49void isr_pin_int1(void);
50void isr_pin_int2(void);
51void isr_pin_int3(void);
52void isr_osc_int_low(void);
53void isr_usb0(void);
54void isr_flexcomm0(void);
55void isr_flexcomm1(void);
56void isr_flexcomm2(void);
57void isr_flexcomm3(void);
58void isr_ble(void);
59void isr_fsp(void);
60void isr_qdec0(void);
61void isr_qdec1(void);
62void isr_ctimer0(void);
63void isr_ctimer1(void);
64void isr_ctimer2(void);
65void isr_ctimer3(void);
66void isr_wdt(void);
67void isr_adc(void);
68void isr_dac(void);
69void isr_xtal_ready(void);
70void isr_flash(void);
71void isr_spifi0(void);
72void isr_sct0(void);
73void isr_rng(void);
74void isr_calib(void);
75void isr_ble_tx(void);
76void isr_ble_rx(void);
77void isr_ble_freq_hop(void);
78void isr_bod(void);
89__attribute__((section(".vectors.100")))
90extern 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.