MPC564EVB Freescale Semiconductor, MPC564EVB Datasheet - Page 90

KIT EVAL FOR MPC561/562/563/564

MPC564EVB

Manufacturer Part Number
MPC564EVB
Description
KIT EVAL FOR MPC561/562/563/564
Manufacturer
Freescale Semiconductor
Type
Microcontrollerr
Datasheets

Specifications of MPC564EVB

Contents
Module Board, Installation Guide, Power Supply, Cable, Software and more
Processor To Be Evaluated
MPC56x
Data Bus Width
32 bit
Interface Type
RS-232, Ethernet
For Use With/related Products
MPC561, 562, 563, 564
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
System Call Functions
3.5.3 IN_STAT
This function (function code 0x0001) checks if an input character is present to receive. A value of
zero is returned in r3 when no character is present. A value of 1 in r3 means a character is present.
Assembly example:
C example:
3.5.4 ISR_REGISTER
This function’s code is 0x0040. For ISR_REGISTER, the vector, handler, device ptr, and arg ptr
are in r3, r4, r5, and r6 respectively.
C example:
3.5.5 ISR_REMOVE
This function’s code is 0x0041. For ISR_REMOVE, the vector is in r3. Nothing is returned.
Assembly example:
3-40
{
}
addi r10, r0, 0x0001
sc
int board_char_present (void)
{
}
int
board_isr_register (int vector, void *handler, void *device, void *arg)
{
}
addi r10, r0, 0x0041
sc
/* assume r3 contains the character */
asm(“
asm(“
asm(
asm(
/*
asm(
asm(
* Vector will normally be 0x0500 for IRQ. Handler should be address
* of your routine. Device and Arg are both used as arguments to
* Handler when it is invoked. Ie. handler(device,arg); It is
* intended that Device point to the device. If the handler is
* registered OK, 1 is returned, otherwise 0.
*/
Freescale Semiconductor, Inc.
For More Information On This Product,
Select the function
Selects the function
addi r10, r0, 0x0000”); Selects the function
sc”);
"addi
"sc");
"addi
"sc");
The character is returned in r3
Make the call, r3 contains the response (yes/no).
MPC564EVB User’s Manual
Go to: www.freescale.com
r10,r0,0x0001");Select the function
r10,r0,0x0040");
The character is returned in r3
Make the call, r3 contains the response (yes/no).

Related parts for MPC564EVB