I/O Function Calls Detailed Description; 00] Poll Character Received; 01] Send Character On Rs232 - Fujitsu F2MC-16L Series User Manual

Hide thumbs Also See for F2MC-16L Series:
Table of Contents

Advertisement

The following table lists the functions provided via I/O Function Calls:
Function
Poll Character Received*
Send Char on RS232*
Receive Char on RS232*
Print a String*
Input a String*
Print a HexByte*
Print a HexWord*
Print a HexAddress
Print a HexLongWord
Wait n milliseconds
En/Disable BreakPnt.
* NOTE: The port specified by UPORT command is used. The default port is the internal
port. This port is pre-defined for 9600 Baud, no parity, 2 stop bits only on power
on reset. User may change this parameter (see MB90600 User Manual).
However, the monitor port is re-initialised during a reset (to 9600 Baud, if internal
port is linked to the monitor, or set to the selected BAUD-value, if the external
port is used). In this case it does no matter, whether it is linked to the external or
internal port. This is important to note, if monitor and user are linked to the same
port.
4.1.2.

I/O Function Calls Detailed Description

4.1.2.1.

[00] Poll Character Received

This function works in a similar way to PC-BIOS functions. It checks, if a character is
available in the keyboard buffer or not.
Since the evaluation board uses a polling type of software UART, the functionality is
restricted. The function will just scan the Rx-receive line for some time and see if a character is
detected.
A function call to actually read a character will immediately return the buffered character if the
previous poll request had returned "1" else the read character request waits for the next
character.
4.1.2.2.

[01] Send Character on RS232

This function will transmit a single character (byte) via the RS232 transmit line, to be displayed
on the host computer terminal.
- 40 -
FUJITSU MB90675-Evaluation Board - User Manual
1st Param.
-
Output Char
-
DTB:Address
DTB:Buffer
Byte
Word
LongWord
LongWord
milliseconds
1 : En., 0 : Dis.
2nd Param.
FCode.
-
00
-
01
-
02
-
03
max. len
04
-
05
-
06
07
08
-
09
-
0A
© FUJITSU Mikroelektronik GmbH 1996
Return Value
1:Rec, 0:No
char sent
Input Char, -1
0, -1 (error)
(Esc, ↵, Tab)
-
-
-
-
-
-

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90675 series

Table of Contents