M5249C3 Freescale Semiconductor, M5249C3 Datasheet - Page 55

KIT EVAL FOR M5249 W/ETHERNET

M5249C3

Manufacturer Part Number
M5249C3
Description
KIT EVAL FOR M5249 W/ETHERNET
Manufacturer
Freescale Semiconductor
Series
ColdFire®r
Type
Microprocessorr
Datasheets

Specifications of M5249C3

Contents
Module and Misc Hardware
Processor To Be Evaluated
MCF5249
Interface Type
RS-232, Ethernet
For Use With/related Products
MCF5249
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
}
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 no character is present. A non-zero value in D0 means a character is present.
Assembly example:
C example:
int board_char_present (void)
{
}
2.5.4
This function (function code 0x0000) transfers the control back to the dBUG, by terminating the user code.
The register context are preserved.
Assembly example:
C example:
void board_exit_to_dbug (void)
{
}
Freescale Semiconductor
asm (“ trap#15”);
asm (“ move.ld1,d0”);
move.l
trap
asm (“ move.l#0x0014,d0”);
asm (“ trap#15”);
move.l
trap
asm (“ move.l#0x0000,d0”);
asm (“ trap#15”);
CHAR_PRESENT
EXIT_TO_dBUG
#$0014,d0
#15
#$0000,d0
#15
Make the call,
M5249C3 User’s Manual, Rev. 1
Select the function
Select the function
Make the call,
d0 contains the response (yes/no).
/* make the call */
/* put the character in d0 */
/* select the function */
/* make the call */
/* select the function */
/* exit and transfer to dBUG */
exit to dBUG.
Using the Monitor/Debug Firmware
2-39

Related parts for M5249C3