SENtral Simple Serial Host interface for PNI Sensor Corp SENtral-A2 motion coprocessor. For use with the RM3100RTI Arduino shield module on top of an STM4 serial mbed board. Will work with an PNI RM3100RTI module or M&M motion modules. Interaction with unit using built in USB serial serial port set for 115200 baud. Send '?' char for menu. Presently requires SENtral firmware to either be loaded in the RM3100RTI Arduino shield SD Card or preloaded in the RM3100RTI or M&M module's EEPROM. Firmware is typically preloaded on the module's EEPROM by PNI. PNI Sensor, 2019 www.pnicorp.com

Dependencies:   mbed SDFileSystemVSG

SENtral Simple Serial Host interface for PNI Sensor Corp SENtral-A2 motion coprocessor. For use with the RM3100RTI Arduino shield module on top of an STM4 serial mbed board. Will work with an PNI RM3100RTI module or M&M motion modules. Interaction with unit using built in USB serial serial port set for 115200 baud. Send '?' char for menu. Presently requires SENtral firmware to either be loaded in the RM3100RTI Arduino shield SD Card or preloaded in the RM3100RTI or M&M module's EEPROM. Firmware is typically preloaded on the module's EEPROM by PNI. PNI Sensor, 2019 www.pnicorp.com

mbed_objects.h

Committer:
JoeMiller
Date:
2016-07-22
Revision:
1:b0a205c9b958
Parent:
0:02c0c2cbc3df

File content as of revision 1:b0a205c9b958:

#ifndef OBJECTS_H
#define OBJECTS_H
// The purpose of this file and associated header file is to 
//   enable globalization of mbed platform specific objects
//   for all source files to utilize
#include "main.h"
#include "SDFileSystem.h"
   
    extern SDFileSystem sd;
    extern I2C i2c;
    extern Serial pc;
    extern InterruptIn SENtral_InterruptPin;
    
// These LEDs and PBSwitch are Not part of the RM3100RTI Arduino Shield.    
    extern DigitalOut green_LED;
    extern DigitalIn pushButton;

    u32 em7186_i2c_write(u8 registerAddress, u8* buffer, u16 length);
    u32 em7186_i2c_read(u8 registerAddress, u8* buffer, u16 length);
    u32 EE_Write(u8 I2C_Addr, u16 EE_MemAddr, u8*buffer, u16 length);
    u32 EE_Read(u8 I2C_Addr, u16 EE_MemAddr, u8*buffer, u16 length);


#endif