用了OMAPL138的startware ,
hw_upp.h里寄存器地址定义和操作手册上不一样
interrupt.h里面有好多中断都没定义
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
用了OMAPL138的startware ,
hw_upp.h里寄存器地址定义和操作手册上不一样
interrupt.h里面有好多中断都没定义
你好 这个startware 和hw_upp.h文件在哪里?是bsl里的吗?我怎么没有看到呢。还有bsl里的upp.c文件,引脚复用宏定义时,15 寄存器定义了2次?是什么意思?还有19引脚复用寄存器设置与UPP有关系吗?谢谢。
#define PINMUX_UPP_REG_0 (19)
#define PINMUX_UPP_MASK_0 (0x000F0000)
#define PINMUX_UPP_VAL_0 (0x00010000)
#define PINMUX_UPP_REG_1 (13)
#define PINMUX_UPP_MASK_1 (0xFFFF0000)
#define PINMUX_UPP_VAL_1 (0x48440000)
#define PINMUX_UPP_REG_2 (14)
#define PINMUX_UPP_MASK_2 (0xFFFFFF00)
#define PINMUX_UPP_VAL_2 (0x44444400)
#define PINMUX_UPP_REG_3 (15)
#define PINMUX_UPP_MASK_3 (0xFFFFFFFF)
#define PINMUX_UPP_VAL_3 (0x44444444)
#define PINMUX_UPP_REG_4 (16)
#define PINMUX_UPP_MASK_4 (0xFFFFFFFF)
#define PINMUX_UPP_VAL_4 (0x44444444)
#define PINMUX_UPP_REG_5 (17)
#define PINMUX_UPP_MASK_5 (0xFFFFFFFF)
#define PINMUX_UPP_VAL_5 (0x44444444)
#define PINMUX_UPP_REG_6 (15)
#define PINMUX_UPP_MASK_6 (0x00FFFFFF)
#define PINMUX_UPP_VAL_6 (0x00444444)
#define PINMUX_UPP_REG_7 (18)
#define PINMUX_UPP_MASK_7 (0x00FFFFFF)