【整理者】61ic.com
【提供者】chenxibing008
【详细说明】OMAP3530 UART2引脚配置
UART2_TX / GP142 4800 2170[15:0] MODEL1是TX功能
UART2_RX / GP143 4800 2170[31:16] MODEL1是RX功能
arch/arm/mach-omap2/mux.c:
MUX_CFG_34XX("GP142_UART2_TX", 0x170,
OMAP34XX_MUX_MODE1 | OMAP34XX_PIN_OUTPUT) /* GP142 UART2_TX */
MUX_CFG_34XX("GP143_UART2_RX", 0x172,
OMAP34XX_MUX_MODE1 | OMAP34XX_PIN_INPUT) /* GP143 UART2_RX */
arch/arm/plat-omap/include/mach/mux.h:
GP142_UART2_TX,
GP14333_UART2_RX,
arch/arm/mach-omap2/board-omap3evm.c:
/* for UART2 */
omap_cfg_reg(GP142_UART2_TX);
omap_cfg_reg(GP143_UART2_RX);
附上UART2相关寄存器定义
阅读(1630) | 评论(0) | 转发(0) |