casio dt930 开发的函数详解

featured functiondescription
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 程序开发 编译环境 开发资料 开发工具 编译器

转载于:https://www.cnblogs.com/walpff/archive/2009/09/23/1572258.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值