21ic问答首页 - keil在模拟STC12C5A32S2时为什么串口只有一个?
keil在模拟STC12C5A32S2时为什么串口只有一个?
zhuty20212021-07-07
是因为支持不好还是什么原因?哪位大神知道?
dir vtreg
PPAGE: ulong, value = 0xFFFFFFFF
XPAGE: ulong, value = 0xFFFFFFFF
XTAL: ulong, value = 0x02AEA540
RING: ulong, value = 0x003D0900
CLOCK: ulong, value = 0x02AEA540
PORT0: uchar, value = 0xFF
PORT1: uchar, value = 0xFF
PORT2: uchar, value = 0xFF
PORT3: uchar, value = 0xFF
S0IN: uint, value = 0x0000
S0OUT: uint, value = 0x0000
S0TIME: uchar, value = 0x01
如果是2个串口应该有S1IN S1OUT之类的
dir vtreg
PPAGE: ulong, value = 0xFFFFFFFF
XPAGE: ulong, value = 0xFFFFFFFF
XTAL: ulong, value = 0x02AEA540
RING: ulong, value = 0x003D0900
CLOCK: ulong, value = 0x02AEA540
PORT0: uchar, value = 0xFF
PORT1: uchar, value = 0xFF
PORT2: uchar, value = 0xFF
PORT3: uchar, value = 0xFF
S0IN: uint, value = 0x0000
S0OUT: uint, value = 0x0000
S0TIME: uchar, value = 0x01
如果是2个串口应该有S1IN S1OUT之类的
您需要登录后才可以回复 登录 | 注册