EasyManua.ls Logo

Elprotronic MSP430 - F_Write_Byte

Default Icon
119 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Read one word to any location of the target device.
Parameters:
address - Even address from 0x0000 to 0x1FFFE,
Syntax:
MSPPRG_API INT_X F_Read_Word( LONG_X addr );
Return value:
data - one word
-2 (0xFFFFFFFE) - FPA_INVALID_NO
Example:
data = F_Read_Word( 0x0124 );
F_Write_Byte
F_Write_Word - Write one byte to RAM, registers, IO etc. without FLASH.
VALID FPA index - ( 1 to 64 ) or 0 (ALL FPAs) executed sequentially.
NOTE: Instruction not supported in BSL and Fast BSL.
Write one byte to any location of the target device. Write to Flash has no effect.
Parameters:
address - Any address from 0x0000 to 0x1FFFF,
data - one byte to be written to target device
Syntax:
MSPPRG_API INT_X F_Write_Byte( LONG_X addr, BYTE data );
Return value:
0 - FALSE
1 - TRUE
-2 (0xFFFFFFFE) - FPA_INVALID_NO
Example:
F_Write_Byte( 0x33, 0x20 );
96

Table of Contents