AN2504 Freescale Semiconductor / Motorola, AN2504 Datasheet - Page 8

no-image

AN2504

Manufacturer Part Number
AN2504
Description
On-Chip FLASH Programming API for CodeWarrior Software
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
AN2504/D
TransmitByte
8
On-Chip FLASH Programming API for CodeWarrior Software
The TransmitByte function sends a byte through the communication port. This
function uses the same NRZ communication protocol and baud rate that is
used in monitor mode
The communication port is different from one microcontroller to another.
However, the function TransmitByte automatically chooses the communication
port for the microcontroller used.
each microcontroller.
1. Techniques can be used to avoid decreasing the available RAM. Refer to the
section.
Freescale Semiconductor, Inc.
Entry Conditions
Exit Conditions
For More Information On This Product,
Return Value
Parameters
Prototype
Remarks
Go to: www.freescale.com
1
.
_data: the byte to be transmitted
None
None
None
TransmitByte will try to transmit the _data with no
Communications at the MCU port pin use CMOS logic
handshake. If the receiver is not ready the transmitted
_data will be lost.
levels while a PC serial port requires RS-232 voltage
levels. Therefore, an RS-232 level shifter device such
as the MAX232 is required to interface the MCU to a
PC serial port. Refer to
Communication.
Table 6. TransmitByte
Table 2
Void TransmitByte (Byte _data)
provides the communication port for
Hardware Needed for
Techniques
MOTOROLA

Related parts for AN2504