ISF  2.2 rev 5
Intelligent Sensing Framework for Kinetis with Processor Expert
FXLC95000_2.c File Reference
#include "FXLC95000_2.h"
#include "isf_util.h"
#include "isf_spi_master_types.h"
#include "SPIChipSelect.h"
#include "SPISelect.h"
#include "ResetSensor.h"
Include dependency graph for FXLC95000_2.c:

Go to the source code of this file.

Macros

#define FSL_SENSOR_SPI_CMD_LENG   0x1
 

Functions

isf_status_t fsl_95000_spi_slave_init (void)
 
isf_status_t fsl_95000_spi_slave_write_preprocess (void *pCmdOut, uint32 offset, uint32 size, void *pWritebuffer)
 
isf_status_t fsl_95000_spi_slave_write_postprocess (void *pCmdOut)
 
isf_status_t fsl_95000_spi_slave_read_preprocess (void *pCmdOut, uint32 offset, uint32 size)
 
isf_status_t fsl_95000_spi_slave_read_postprocess (void *pCmdOut, void *pDataOut)
 

Variables

uint8 FXLC95000_2_ConfigRegisterBuffer [FXLC95000_2_CONFIG_REGISTER_SIZE]
 
const uint8 const BootToFlash [] = { 0x29, 0x00, 0xFF, 0xFF, 0xFF, 0xFF }
 
const uint8 const ConfigureMBoxCmd1 [] = { 0x01, 0x02, 0x18, 0x14, 0x02, 0x03, 0x02, 0x02, 0x02, 0x01, 0x02, 0x00, 0x02, 0x05, 0x02, 0x04, 0x02, 0x07, 0x02, 0x06, 0x02, 0x09, 0x02, 0x08 }
 
const uint8 const ReadConfigRegistersCmd [] = { 0x02, 0x01, FXLC95000_2_CONFIG_REGISTER_CMD_OFFSET, FXLC95000_2_CONFIG_REGISTER_SIZE }
 
const uint8 const QuickReadInterruptEnable [] = { 0x01, 0x02, 0x39, 0x01, 0x03 }
 
const uint8 const QuickReadInterruptDisable [] = { 0x01, 0x02, 0x39, 0x01, 0x02 }
 
const uint8 const StartDataCmd [] = { 0x02, 0x02, 0x00, 0x01, 0x52 }
 
const uint8 const EndDataCmd [] = { 0x02, 0x02, 0x00, 0x01, 0x51 }
 
const uint8 const ShutdownCmd [] = { 0x02, 0x02, 0x00, 0x01, 0x50 }
 
const uint8 const ConfigWritePreamble [] = { 0x02, 0x02, FXLC95000_2_CONFIG_REGISTER_CMD_OFFSET, FXLC95000_2_CONFIG_REGISTER_SIZE }
 
const uint8 const UnprotectFlash [] = { 0x40, 0x00 }
 
const uint8 const EraseMainFlashArray [] = { 0x12, 0xC5, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xFF, 0xFF }
 
const uint8 const ProtectFlash [] = { 0x38, 0x00 }
 
const fxlc95000_Command_t const InitializeSequence []
 
const fxlc95000_Command_t const ReadConfigRegistersSequence []
 
const fxlc95000_Command_t const ConfigureSequence []
 
const fxlc95000_Command_t const StartDataSequence []
 
const fxlc95000_Command_t const EndDataSequence []
 
const fxlc95000_Command_t const ShutdownSequence []
 
const fxlc95000_Command_t const WriteConfigPreambleSequence []
 
const fxlc95000_Command_t const FlashPreprocessSequence []
 
const fxlc95000_Command_t const FlashPostprocessSequence []
 
fxlc95000_Sensor_Specific_Settings_t FXLC95000_2_Sensor_Specific_Config
 This allows access to the sensor specific configuration for the target sensor. More...
 
const isf_dsa_Adapter_t FXLC95000_2_Adapter
 This creates the sensor adapter instance for the target sensor. More...
 
spi_master_slaveInfo_t fsl_spi_sensor_type_FXLC95000_2
 
const spi_master_CommSpecificInfo_t FXLC95000_2_DeviceInfo
 This allows access to the sensor communications specific configuration. More...
 

Detailed Description

Version
01.00

Definition in file FXLC95000_2.c.