casio dt930 开发的函数详解

featured function description
c_open()  Open COM0 with 9600bps speed, non-parity, 8 bit data length,
 1bit stop bit, RS off, ER off, and XON/OFF as flow control.
 Send "A", receive "B", and close COM0
 (display the error status if communication error occurs)

 Test environment    : DT-900 <-- Ir Port --> DT-900
 Evaluation software : c_101r.c
c_open()  Open COM0 with 9600bps speed, non-parity, 8 bit data length,
 1bit stop bit, RS off, ER off, and XON/OFF as flow control.
 Receive "A", send "B", and close COM0
 (display the error status if communication error occurs)

 Test environment    : DT-900 <-- Ir Port --> DT-900
 Evaluation software : c_101.c
c_close()  Open COM0 with 9600bps speed, non-parity, 8 bit data length,
 1bit stop bit, RS off, ER off, and XON/OFF as flow control.
 Send "A", receive "B", and close COM0
 (display the error status if communication error occurs)

 Test environment    : DT-900 <-- Ir Port --> DT-900
 Evaluation software : c_101r.c
c_status() For receive one character from other DT-900 COM0 port
and display COM0 port status

Test environment    : DT-900 <-- Ir Port --> DT-900
Evaluation software : c_103r.c
c_status() For send one character to other DT-900 COM0 port

Test environment    : DT-900 <-- Ir Port --> DT-900
Evaluation software : c_103.c
c_hold() Hold COM0 port and open COM0 port then error

Test environment    : DT-900 <-- Ir Port -->
Evaluation software : none
c_chkopen() Open COM0 port and check open port then
send one character to other DT-900 COM0 port

Test environment    : DT-900 <-- Ir Port --> DT-900
Evaluation software : c_103.c
c_dout() Open COM0 with 9600bps speed, non-parity, 8 bit data length,
1bit stop bit, RS off, ER off,and XON/OFF as flow control. 
Send "ABC", receive "XYZ", and close COM0
(display the error status if communication error occurs)

Test environment    : DT-900 <-- Ir Port --> DT-900
Evaluation software : c_201r.c
c_dout() Open COM0 with 9600bps speed, non-parity, 8 bit data length,
1bit stop bit, RS off, ER off,and XON/OFF as flow control. 
Receive "ABC", send "XYZ", and close COM0
(display the error status if communication error occurs)

Test environment    : DT-900 <-- Ir Port --> DT-900
Evaluation software : c_201.c
c_din() For receive one character from other DT-900 COM0 port
and display COM0 port status

Test environment    : DT-900 <-- Ir Port --> DT-900
Evaluation software : c_103r.c
c_tmdin()  Open COM0 with 9600bps speed, non-parity, 8 bit data length,
 1bit stop bit, RS off, ER off, and XON/OFF as flow control.
 Send "A", receive "B", and close COM0
 (display the error status if communication error occurs)

 Test environment    : DT-900 <-- Ir Port --> DT-900
 Evaluation software : c_101r.c
c_out()  Open COM0 with 9600bps speed, non-parity, 8 bit data length,
 1bit stop bit, RS off, ER off, and XON/OFF as flow control.
 Send "A", receive "B", and close COM0
 (display the error status if communication error occurs)

 Test environment    : DT-900 <-- Ir Port --> DT-900
 Evaluation software : c_101r.c
c_break() Open COM0 with 9600bps speed, non-parity, 8 bit data length,
1bit stop bit, RS off, ER off,and XON/OFF as flow control. 
Send break signal.

 Test environment    : DT-900 <-- Ir Port --> DT-900
 Evaluation software : c_205r.c
c_break() Open COM0 with 9600bps speed, non-parity, 8 bit data length,
1bit stop bit, RS off, ER off,and XON/OFF as flow control. 
Send break signal.

 Test environment    : DT-900 <-- Ir Port --> DT-900
 Evaluation software : c_205.c
c_txrx()  Open COM0 with 9600bps speed, non-parity, 8 bit data length,
 1bit stop bit, RS off, ER off, and XON/OFF as flow control.
 Send "A", receive "B", and close COM0
 (display the error status if communication error occurs)

 Test environment    : DT-900 <-- Ir Port --> DT-900
 Evaluation software : c_101r.c
c_timer()  Set timer monitoring function for COM port,
 including CS timeout (approximately 3 seconds),
 DR time out (approx. 5 seconds),and CD timeout (approx. 4 seconds). 
 Open COM1 with 9600bps speed, non-parity, 8 bit data length,
 1bit stop bit, RS off, ER off, and XON/OFF as flow control.
 Set RS signal on, display the return value, and close COM port

 Test environment    : DT-900 alone
c_timer()  Open COM0 with 9600bps speed, non-parity, 8 bit data length,
 1bit stop bit, RS off, ER off, and XON/OFF as flow control.
 Send "A", receive "B", and close COM0
 (display the error status if communication error occurs)

 Test environment    : DT-900 <-- Ir Port --> DT-900
 Evaluation software : c_101r.c
c_er()  Set timer monitoring function for COM port,
 including CS timeout (approximately 3 seconds),
 DR time out (approx. 5 seconds),and CD timeout (approx. 4 seconds). 
 Open COM1 with 9600bps speed, non-parity, 8 bit data length,
 1bit stop bit, RS off, ER off, and XON/OFF as flow control.
 Set RS signal on, display the return value, and close COM port

 Test environment    : DT-900 alone
c_rs()  Set timer monitoring function for COM port,
 including CS timeout (approximately 3 seconds),
 DR time out (approx. 5 seconds),and CD timeout (approx. 4 seconds). 
 Open COM1 with 9600bps speed, non-parity, 8 bit data length,
 1bit stop bit, RS off, ER off, and XON/OFF as flow control.
 Set RS signal on, display the return value, and close COM port

 Test environment    : DT-900 alone
c_errs()  Set timer monitoring function for COM port,
 including CS timeout (approximately 3 seconds),
 DR time out (approx. 5 seconds),and CD timeout (approx. 4 seconds). 
 Open COM1 with 9600bps speed, non-parity, 8 bit data length,
 1bit stop bit, RS off, ER off, and XON/OFF as flow control.
 Set RS signal on, display the return value, and close COM port

 Test environment    : DT-900 alone
c_iobox()  Open COM0 with 9600bps speed, non-parity, 8 bit data length,
 1bit stop bit, RS off, ER off, and XON/OFF as flow control. 
 Disable receiving functionality of the communication controller,
 set I/O box to sending, then enable sending/receiving
 functionalities of the controller.
 Send "abc" to I/O box, and close COM0


 Test environment    : DT-900 <=> Basic I/O BOX <=> PC (Hyperterminal)
c_irout()  Open COM0 with 9600bps speed, non-parity, 8 bit data length,
 1bit stop bit, RS off, ER off, and XON/OFF as flow control. 
 Disable receiving functionality of the communication controller,
 set I/O box to sending, then enable sending/receiving
 functionalities of the controller.
 Send "abc" to I/O box, and close COM0


 Test environment    : DT-900 <=> Basic I/O BOX <=> PC (Hyperterminal)
c_flush  Open COM0 with 9600bps speed, non-parity, 8 bit data length,
 1bit stop bit, RS off, ER off, and XON/OFF as flow control. 
 Wait for receiving one character, display the buffer status,
 clear the buffer, re-display the buffer status, and close COM0

 Test environment    : DT-900 <-- Ir Port --> DT-900
 Evaluation software : c_301r.c
c_flush()  Open COM0 with 9600bps speed, non-parity, 8 bit data length,
 1bit stop bit, RS off, ER off, and XON/OFF as flow control. 
 Send 'a' 100 times, and close COM0

 Test environment    : DT-900 <-- Ir Port --> DT-900
 Evaluation software : c_301.c
c_bfsts()  Open COM0 with 9600bps speed, non-parity, 8 bit data length,
 1bit stop bit, RS off, ER off, and XON/OFF as flow control. 
 Wait for receiving one character, display the buffer status,
 clear the buffer, re-display the buffer status, and close COM0

 Test environment    : DT-900 <-- Ir Port --> DT-900
 Evaluation software : c_301r.c
c_errbfring()  Open COM0 with 9600bps speed, non-parity, 8 bit data length,
 1bit stop bit, RS off, ER off, and XON/OFF as flow control. 
 Wait for receiving one character,
 display the received content, and close COM0

 Test environment    : DT-900 <-- Ir Port --> DT-900
 Evaluation software : c_401r.c
c_errbfring()  Open COM0 with 9600bps speed, non-parity, 8 bit data length,
 1bit stop bit, RS off, ER off, and XON/OFF as flow control. 
 Send 'a' 100 times, and close COM0

 Test environment    : DT-900 <-- Ir Port --> DT-900
 Evaluation software : c_401.c
c_rderrsts()  Open COM0 with 9600bps speed, non-parity, 8 bit data length,
 1bit stop bit, RS off, ER off, and XON/OFF as flow control.
 Send "A", receive "B", and close COM0
 (display the error status if communication error occurs)

 Test environment    : DT-900 <-- Ir Port --> DT-900
 Evaluation software : c_101r.c
c_chghdr()  Open COM1 with 9600bps speed, non-parity, 8 bit data length,
 1bit stop bit, RS off, ER off, and XON/OFF as flow control. 
 Set receiving handler to high-8, send "A", receive "B",
 then close COM0

 Test environment    : DT-900 <-- Ir Port --> DT-900
 Evaluation software : c_403r.c
c_chghdr()  Open COM1 with 9600bps speed, non-parity, 8 bit data length,
 1bit stop bit, RS off, ER off, and XON/OFF as flow control. 
 Set receiving handler to high-8, receive "A", send "B",
 then close COM0

 Test environment    : DT-900 <-- Ir Port --> DT-900
 Evaluation software : c_403.c
c_brkevent()  Set timer monitoring function for COM port,
 including CS timeout (approximately 3 seconds),
 DR time out (approx. 5 seconds),and CD timeout (approx. 4 seconds). 
 Open COM1 with 9600bps speed, non-parity, 8 bit data length,
 1bit stop bit, RS off, ER off, and XON/OFF as flow control.
 Set RS signal on, display the return value, and close COM port

 Test environment    : DT-900 alone

关键字:casio dt930 程序开发 编译环境 开发资料 开发工具 编译器

关键字:casio dt930 程序开发 编译环境 开发资料 开发工具 编译器

posted @ 2009-09-23 09:36  宁静以致远  阅读(1057)  评论(0编辑  收藏  举报