#include "ELL_CFG.h"
宏定义 | |
NVIC_GLOBAL_ENABLE | |
使能总中断。 Enable total interrupt. | |
#define | NVIC_GLOBAL_ENABLE() do{_nop_();EA = 1;_nop_();}while(0) |
NVIC_GLOBAL_DISABLE | |
不使能总中断。 Disable total interrupt. | |
#define | NVIC_GLOBAL_DISABLE() do{_nop_();EA = 0;_nop_();}while(0) |
#define | EXTI0_ISRQ_Handler(void) EXTI0_ISR(void) interrupt 0 |
#define | EXTI1_ISRQ_Handler(void) EXTI1_ISR(void) interrupt 2 |
#define | EXTI2_ISRQ_Handler(void) EXTI2_ISR(void) interrupt 10 |
#define | EXTI3_ISRQ_Handler(void) EXTI3_ISR(void) interrupt 11 |
#define | EXTI4_ISRQ_Handler(void) EXTI4_ISR(void) interrupt 16 |
#define | TIMER0_ISRQ_Handler(void) TIMER0_ISR(void) interrupt 1 |
#define | TIMER1_ISRQ_Handler(void) TIMER1_ISR(void) interrupt 3 |
#define | TIMER2_ISRQ_Handler(void) TIMER2_ISR(void) interrupt 12 |
#define | TIMER3_ISRQ_Handler(void) TIMER3_ISR(void) interrupt 19 |
#define | TIMER4_ISRQ_Handler(void) TIMER4_ISR(void) interrupt 20 |
#define | UART1_ISRQ_Handler(void) UART1_ISR(void) interrupt 4 |
#define | UART2_ISRQ_Handler(void) UART2_ISR(void) interrupt 8 |
#define | UART3_ISRQ_Handler(void) UART3_ISR(void) interrupt 17 |
#define | UART4_ISRQ_Handler(void) UART4_ISR(void) interrupt 18 |
#define | SPI_ISRQ_Handler(void) SPI_ISR(void) interrupt 9 |
#define | COMP_ISRQ_Handler(void) COMP_ISR(void) interrupt 21 |
#define | I2C_ISRQ_Handler(void) I2C_ISR(void) interrupt 24 |
#define | LVD_ISRQ_Handler(void) LVD_ISR(void) interrupt 6 |
#define | ADC_ISRQ_Handler(void) ADC_ISR(void) interrupt 5 |
#define | PCA_ISRQ_Handler(void) PCA_ISR(void) interrupt 7 |
#define | PWM_ISRQ_Handler(void) PWM_ISR(void) interrupt 22 |
#define | PWM_ABD_ISRQ_Handler(void) PWM_ABD_ISR(void) interrupt 23 |
枚举 | |||||||||
BOOL | |||||||||
功能状态枚举体,常用于指示硬件的某个寄存器工作状态。 Function state enumerator is often used to indicate the working state of a register of hardware.
| |||||||||
enum | BOOL { DISABLE = 0 , ENABLE = !DISABLE } | ||||||||
FSCSTATE | |||||||||
函数自检枚举体,指示函数是否正常执行。 Function self checks enumerator. indicating whether the function is normally executed.
| |||||||||
enum | FSCSTATE { FSC_FAIL = 1 , FSC_SUCCESS = !FSC_FAIL , FSC_FAIL = 1 , FSC_SUCCESS = !FSC_FAIL } | ||||||||
GPIOSWPort_Type | |||||||||
外设复用GPIO切换枚举体。 Peripheral IO define.
| |||||||||
enum | GPIOSWPort_Type { SW_Port1 = 0x00 , SW_Port2 = 0x01 , SW_Port3 = 0x02 , SW_Port4 = 0x03 , SW_Port1 = 0x00 , SW_Port2 = 0x01 , SW_Port3 = 0x02 , SW_Port4 = 0x03 } | ||||||||
NVICPri_Type | |||||||||
中断管理优先级枚举体。 Interrupt management priority enumeration body.
| |||||||||
enum | NVICPri_Type { NVIC_PR0 = 0x00 , NVIC_PR1 = 0x01 , NVIC_PR2 = 0x02 , NVIC_PR3 = 0x03 , NVIC_PR0 = 0x00 , NVIC_PR1 = 0x01 , NVIC_PR2 = 0x02 , NVIC_PR3 = 0x03 } | ||||||||
void | _nop_ (void) | ||||||||
#define ADC_ISRQ_Handler | ( | void | ) | ADC_ISR(void) interrupt 5 |
#define COMP_ISRQ_Handler | ( | void | ) | COMP_ISR(void) interrupt 21 |
#define EXTI0_ISRQ_Handler | ( | void | ) | EXTI0_ISR(void) interrupt 0 |
#define EXTI1_ISRQ_Handler | ( | void | ) | EXTI1_ISR(void) interrupt 2 |
#define EXTI2_ISRQ_Handler | ( | void | ) | EXTI2_ISR(void) interrupt 10 |
#define EXTI3_ISRQ_Handler | ( | void | ) | EXTI3_ISR(void) interrupt 11 |
#define EXTI4_ISRQ_Handler | ( | void | ) | EXTI4_ISR(void) interrupt 16 |
#define I2C_ISRQ_Handler | ( | void | ) | I2C_ISR(void) interrupt 24 |
#define LVD_ISRQ_Handler | ( | void | ) | LVD_ISR(void) interrupt 6 |
#define PCA_ISRQ_Handler | ( | void | ) | PCA_ISR(void) interrupt 7 |
#define PWM_ABD_ISRQ_Handler | ( | void | ) | PWM_ABD_ISR(void) interrupt 23 |
#define PWM_ISRQ_Handler | ( | void | ) | PWM_ISR(void) interrupt 22 |
#define SPI_ISRQ_Handler | ( | void | ) | SPI_ISR(void) interrupt 9 |
#define TIMER0_ISRQ_Handler | ( | void | ) | TIMER0_ISR(void) interrupt 1 |
#define TIMER1_ISRQ_Handler | ( | void | ) | TIMER1_ISR(void) interrupt 3 |
#define TIMER2_ISRQ_Handler | ( | void | ) | TIMER2_ISR(void) interrupt 12 |
#define TIMER3_ISRQ_Handler | ( | void | ) | TIMER3_ISR(void) interrupt 19 |
#define TIMER4_ISRQ_Handler | ( | void | ) | TIMER4_ISR(void) interrupt 20 |
#define UART1_ISRQ_Handler | ( | void | ) | UART1_ISR(void) interrupt 4 |
#define UART2_ISRQ_Handler | ( | void | ) | UART2_ISR(void) interrupt 8 |
#define UART3_ISRQ_Handler | ( | void | ) | UART3_ISR(void) interrupt 17 |
#define UART4_ISRQ_Handler | ( | void | ) | UART4_ISR(void) interrupt 18 |
enum BOOL |
enum FSCSTATE |
enum GPIOSWPort_Type |
enum NVICPri_Type |
void _nop_ | ( | void | ) |