📄 base.h
字号:
#ifndef BASE_H
#define BASE_H
#include <stdint.h>
#define LED (*(uint8 *)0x60000000)
typedef unsigned int uint32;
typedef unsigned short uint16;
typedef unsigned char uint8;
typedef int int32;
typedef short int16;
typedef char int8;
void delay_(uint32 delay);
void delay_us(uint32 delay);
uint8 dip_get(uint8 dipNum);
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include <csl.h>
#include <csl_mcbsp.h>
#include <csl_edma.h>
#include <csl_irq.h>
#include <csl_gpio.h>
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -