AN2504 Freescale Semiconductor / Motorola, AN2504 Datasheet - Page 21

no-image

AN2504

Manufacturer Part Number
AN2504
Description
On-Chip FLASH Programming API for CodeWarrior Software
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
MOTOROLA
On-Chip FLASH Programming API for CodeWarrior Software
/********************************************************************
void TransmitByte(Byte _data);
/********************************************************************
Byte TransmitRange(Word *_ini, Byte
/********************************************************************
void ProgramRange(Word *_ini, Byte
* TransmitByte: It sends a byte out the communication port.
*
* Parameters:
*
* Entry Conditions: None.
*
* Exit Conditions:
*
* Return:
*
* Remarks:
*
*/
* TransmitRange: It reads a range of FLASH memory and sends
*
*
* Parameters:
*
*
*
* Entry Conditions: None.
*
* Exit Conditions:
*
* Return:
*
* Remarks:
*/
* ProgramRange: Programs a range of FLASH.
*
* Parameters:
*
*
*
* Entry Conditions: DATA contains the data to be programmed
*
* Exit Conditions:
*
* Return:
*
* Remarks:
*/
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
it out the communication port
_data: the byte to be sent.
None.
The byte received.
The function will not exit until a byte
is received.
_*ini: pointer to the starting address
_num: number of bytes to transmit.
The checksum is stored in _ini;
SUCCESS or FAIL
_num must be less to or equal to 64
_*ini: pointer to the starting address
_num: length of the range.
None.
None.
_num must be less to or equal to 64
of the range.
of the range.
_num);
_num);
API Source Code
AN2504/D
21

Related parts for AN2504