ROM
Table 7-42. rmf_flash_prog_params_t input parameters
Parameter
pw
addr
num_lwords
verify
data
Description
This is a constant password required to enable program operation. It is used only to limit the possibility of
runaway code accidentally enabling this function. If any other value than
RMF_ENABLE_FLASH_PROGRAM 1 is used as the value for this parameter, the function will return with a
failed status code.
First address to be programmed. Because we are programming 4 bytes at a time, addr[1:0] must be 0.
This is the number of 32-bit words to be programmed. Any program operation must be 128 bytes or less
and fit within a single row of the flash array. The value of num_lword should not exceed 32, and the range
of words should not cross row boundaries. It is OK to program as few as one 32-bit long word within a row.
Only that one long word would be programmed.
TRUE Once program operation is complete, run a verification of programmed values.
FALSE Do not run verify check.
This is a pointer to an array of values to be programmed, starting at addr.
1
Defined in rom_functions.h for this device. Required header files will be provided and described in a specific Application Note.
7.6.2.3
RMF_FLASH_PROGRAM output structure
Example 7-6. Output structure syntax
typedef struct {
unsigned short coco;
unsigned short err;
unsigned long *first_err;
// Command complete (TRUE/FALSE)
// Error code, if any
// address of first error found in any verify operations
} rmf_flash_op_sts_t;
Table 7-43. rmf_flash_prog_params_t output parameters
106
Parameter
COCO
err
first_error
Description
COmmand COmplete
TRUE if command completed without errors.
FALSE if command did not complete and/or errors were found. Check “err” field for details.
Error Code
See Table 7-40 for possible values.
Address of first error found in any verify operations.
MMA955xL Intelligent, Motion-Sensing Platform Hardware Reference Manual, Rev. 1.0
Freescale Semiconductor, Inc.
相关PDF资料
KITMMA955XLEVM KIT EVALUATION FOR MMA955XL
KITMPL115A1EVB KIT EVALUATION FOR MPL115A1
KITMPL115A1SPI KIT EVALUATION FOR PL115A1SP1
KITMPL115A2I2C KIT EVALUATION FOR PL115A2I2C
KITMPVZ5004EVK KIT EVAL PRESSURE SENS BOARD
KN500B1/4 SWITCH KNOB STRAIGHT .50" BLACK
KN5700B1/4 SWITCH KNOB STRAIGHT .75" BLACK
KN700B1/4 SWITCH KNOB STRAIGHT .75" BLACK
相关代理商/技术参数
KITMMA9551LEVM 功能描述:加速传感器开发工具 Dev Board MMA9551L RoHS:否 制造商:Murata 工具用于评估:SCA3100-D04 加速:2 g 传感轴:Triple Axis 接口类型:SPI 工作电压:3.3 V
KITMMA955XLEVM 功能描述:加速传感器开发工具 EVM KIT FOR MMA955XL RoHS:否 制造商:Murata 工具用于评估:SCA3100-D04 加速:2 g 传感轴:Triple Axis 接口类型:SPI 工作电压:3.3 V
KITMMDS08AB32 功能描述:DEV KIT FOR 68HC908AB32 MMDS RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 传感器类型:CMOS 成像,彩色(RGB) 传感范围:WVGA 接口:I²C 灵敏度:60 fps 电源电压:5.7 V ~ 6.3 V 嵌入式:否 已供物品:成像器板 已用 IC / 零件:KAC-00401 相关产品:4H2099-ND - SENSOR IMAGE WVGA COLOR 48-PQFP4H2094-ND - SENSOR IMAGE WVGA MONO 48-PQFP
KITMMDS08JB8 功能描述:DEV KIT FOR 68HC908JB8 MMDS RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 传感器类型:CMOS 成像,彩色(RGB) 传感范围:WVGA 接口:I²C 灵敏度:60 fps 电源电压:5.7 V ~ 6.3 V 嵌入式:否 已供物品:成像器板 已用 IC / 零件:KAC-00401 相关产品:4H2099-ND - SENSOR IMAGE WVGA COLOR 48-PQFP4H2094-ND - SENSOR IMAGE WVGA MONO 48-PQFP
KITMMDS08JL 功能描述:DEVKIT 68HC908JL3/JK3/JK1 MMDS RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 传感器类型:CMOS 成像,彩色(RGB) 传感范围:WVGA 接口:I²C 灵敏度:60 fps 电源电压:5.7 V ~ 6.3 V 嵌入式:否 已供物品:成像器板 已用 IC / 零件:KAC-00401 相关产品:4H2099-ND - SENSOR IMAGE WVGA COLOR 48-PQFP4H2094-ND - SENSOR IMAGE WVGA MONO 48-PQFP
KITMMDS08KX 功能描述:DEV KIT FOR 68HC908KX8/KX2 MMDS RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 传感器类型:CMOS 成像,彩色(RGB) 传感范围:WVGA 接口:I²C 灵敏度:60 fps 电源电压:5.7 V ~ 6.3 V 嵌入式:否 已供物品:成像器板 已用 IC / 零件:KAC-00401 相关产品:4H2099-ND - SENSOR IMAGE WVGA COLOR 48-PQFP4H2094-ND - SENSOR IMAGE WVGA MONO 48-PQFP
KITMMDS08MR32 功能描述:DEVKIT FOR 68HC908MR32/MR16 MMDS RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 传感器类型:CMOS 成像,彩色(RGB) 传感范围:WVGA 接口:I²C 灵敏度:60 fps 电源电压:5.7 V ~ 6.3 V 嵌入式:否 已供物品:成像器板 已用 IC / 零件:KAC-00401 相关产品:4H2099-ND - SENSOR IMAGE WVGA COLOR 48-PQFP4H2094-ND - SENSOR IMAGE WVGA MONO 48-PQFP
KITMMEVS08AB32 功能描述:DEV KIT FOR 68HC908AB32 MMEVS RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:- 传感器类型:CMOS 成像,彩色(RGB) 传感范围:WVGA 接口:I²C 灵敏度:60 fps 电源电压:5.7 V ~ 6.3 V 嵌入式:否 已供物品:成像器板 已用 IC / 零件:KAC-00401 相关产品:4H2099-ND - SENSOR IMAGE WVGA COLOR 48-PQFP4H2094-ND - SENSOR IMAGE WVGA MONO 48-PQFP