?? initdpi.asm
字號:
// The following definition allows the SRU macro to check for errors. Once the routings have
// been verified, this definition can be removed to save some program memory space.
// The preprocessor will issue a warning stating this when using the SRU macro without this
// definition
#define SRUDEBUG // Check SRU Routings for errors.
#include <SRU.h>
.section/pm seg_pmco;
.global _initDPI;
_initDPI:
SRU2(UART0_TX_O,DPI_PB09_I); // UART transmit signal is connected to DPI pin 9
SRU2(HIGH,DPI_PBEN09_I);
SRU2(DPI_PB10_O,UART0_RX_I); // connect the pin buffer output signal to the UART0 receive
SRU2(LOW,DPI_PB10_I);
SRU2(LOW,DPI_PBEN10_I); // disables DPI pin10 as input
_initDPI.end:
rts;
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -