gpio.h
来自「TI DSP C6713 同相同公司C2812利用MSBSP多功能串口通讯的实例」· C头文件 代码 · 共 19 行
H
19 行
/******************************************************************************/
/* GPIO.H - TMS320C6713 GPIO register address */
/******************************************************************************/
#ifndef _GPIO_H_
#define _GPIO_H_
#define GPIO_ENABLE 0x1B00000 /* Address of GPIO Enable reg. */
#define GPIO_DIRECTION 0x1B00004 /* Address of GPIO Direction reg. */
#define GPIO_VALUE 0x1B00008 /* Address of GPIO Value reg. */
#define GPIO_DELTAH 0x1B00010 /* Address of GPIO Delta High reg. */
#define GPIO_HMASK 0x1B00014 /* Address of GPIO High Mask reg. */
#define GPIO_DELTAL 0x1B00018 /* Address of GPIO Delta Low reg. */
#define GPIO_LMASK 0x1B0001C /* Address of GPIO Low Mask reg. */
#define GPIO_GCONTROL 0x1B00020 /* Address of GPIO Global contrul reg. */
#define GPIO_INTERRUPTP 0x1B00024 /* Address of GPIO Interrupt Polarity reg. */
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?