M5307C3 Freescale Semiconductor, M5307C3 Datasheet - Page 69

no-image

M5307C3

Manufacturer Part Number
M5307C3
Description
KIT EVALUATION FOR MCF5307
Manufacturer
Freescale Semiconductor
Series
ColdFire®r
Type
Microprocessorr
Datasheet

Specifications of M5307C3

Contents
Module Board, Installation Guide, Power Supply, Cable, Software and more
Processor To Be Evaluated
MCF5307
Interface Type
Ethernet
For Use With/related Products
MCF5307
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
#endif
}
2.5.2.
This function (function code 0x0010) returns an input character (from terminal
to the caller.
Assembly example:
C example:
int board_in_char (void)
{
}
2.5.3.
This function (function code 0x0014) checks if an input character is present to
receive. A value of zero is returned in D0 when
non-zero value in D0 means a character is present.
Assembly example:
C example:
int board_char_present (void)
{
}
move.l
trap #15
asm (“ move.l
asm (“ trap
asm (“ move.l
move.l
trap #15
asm (“ move.l
asm (“ trap
IN_CHAR
CHAR_PRESENT
#$0010,d0 Select the function
#$0014,d0 Select the function
The returned character is in D1.
Make the call, the input character is in d1.
#0x0010,d0”);
#15”);
d1,d0”);
Make the call,
#0x0014,d0”);
#15”);
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
/* put the character in d0 */
2-45
d0 contains the response (yes/no).
/* select the function */
/* make the call */
/* select the function */
/* make the call */
no character is present. A

Related parts for M5307C3