參數(shù)資料
型號: 101-1070
廠商: Rabbit Semiconductor
文件頁數(shù): 158/160頁
文件大?。?/td> 0K
描述: KIT DEV RABBIT RCM3305 INTL
標準包裝: 1
系列: RabbitCore 3000
類型: MPU 模塊
適用于相關產(chǎn)品: RCM3305
所含物品: RabbitCore 模塊,開發(fā)板,纜線和 Dynamic C? CD-Rom
User’s Manual
91
B.4.6.1 RS-232
RS-232 serial communication on the Prototyping Board is supported by an RS-232 trans-
ceiver installed at U9. This transceiver provides the voltage output, slew rate, and input
voltage immunity required to meet the RS-232 serial communication protocol. Basically,
the chip translates the Rabbit 3000’s signals to RS-232 signal levels. Note that the polarity
is reversed in an RS-232 circuit so that a +5 V output becomes approximately -10 V and 0
V is output as +10 V. The RS-232 transceiver also provides the proper line loading for
reliable communication.
RS-232 can be used effectively at the RCM3305/RCM3315 module’s maximum baud rate
for distances of up to 15 m.
RS-232 flow control on an RS-232 port is initiated in software using the
serXflowcontrolOn()
function call from LIB\RS232.LIB, where X is the serial port
(E or F). The locations of the flow control lines are specified using a set of five macros.
SERX_RTS_PORT
—Data register for the parallel port that the RTS line is on (e.g., PGDR).
SERX_RTS_SHADOW
—Shadow register for the RTS line's parallel port (e.g., PGDRShadow).
SERX_RTS_BIT
—The bit number for the RTS line.
SERX_CTS_PORT
—Data register for the parallel port that the CTS line is on (e.g., PCDRShadow).
SERX_CTS_BIT
—The bit number for the CTS line.
Standard 3-wire RS-232 communication using Serial Ports E and F is illustrated in the fol-
lowing sample code.
#define EINBUFSIZE
15
// set size of circular buffers in bytes
#define EOUTBUFSIZE 15
#define FINBUFSIZE
15
#define FOUTBUFSIZE 15
#define MYBAUD 115200
// set baud rate
#endif
main(){
serEopen(_MYBAUD);
// open Serial Ports E and F
serFopen(_MYBAUD);
serEwrFlush();
// flush their input and transmit buffers
serErdFlush();
serFwrFlush();
serFrdFlush();
serEclose(_MYBAUD);
// close Serial Ports C and D
serFclose(_MYBAUD);
}
相關PDF資料
PDF描述
SC43B-4R7 INDUCTOR SMD 4.7UH 1.22A 7.96MHZ
EEM28DTKT CONN EDGECARD 56POS DIP .156 SLD
0210390966 CABLE JUMPER 1MM .051M 27POS
101-0679 KIT DEV RABBIT RCM3600 INTL
101-0577 KIT DEV FOR BL2500 COYOTE
相關代理商/技術參數(shù)
參數(shù)描述
1011072129 制造商:OMRON AUTOMATION AND SAFETY 功能描述:MICRON ADAPTOR PLATE
10-110-721-29 制造商:OMRON AUTOMATION AND SAFETY 功能描述:MICRON ADAPTOR PLATE 制造商:Omron Electronic Components LLC 功能描述:Micron Adaptor Plate 制造商:OMRON INDUSTRIAL AUTOMATION 功能描述:MICRON ADAPTOR PLATE
101-107-283 制造商:NSW 功能描述:
101-107-316 制造商: 功能描述: 制造商:undefined 功能描述:
1011-075 制造商:ROEBUCK 功能描述:ROEBUCK TOOLMAKERS CLAMP 3"