PNI / Mbed 2 deprecated SENtral_SimpleSerialHostInterface

Dependencies:   mbed SDFileSystemVSG

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers mbed_objects.h Source File

mbed_objects.h

00001 #ifndef OBJECTS_H
00002 #define OBJECTS_H
00003 // The purpose of this file and associated header file is to 
00004 //   enable globalization of mbed platform specific objects
00005 //   for all source files to utilize
00006 #include "main.h"
00007 #include "SDFileSystem.h"
00008    
00009     extern SDFileSystem sd;
00010     extern I2C i2c;
00011     extern Serial pc;
00012     extern InterruptIn SENtral_InterruptPin;
00013     
00014 // These LEDs and PBSwitch are Not part of the RM3100RTI Arduino Shield.    
00015     extern DigitalOut green_LED;
00016     extern DigitalIn pushButton;
00017 
00018     u32 em7186_i2c_write(u8 registerAddress, u8* buffer, u16 length);
00019     u32 em7186_i2c_read(u8 registerAddress, u8* buffer, u16 length);
00020     u32 EE_Write(u8 I2C_Addr, u16 EE_MemAddr, u8*buffer, u16 length);
00021     u32 EE_Read(u8 I2C_Addr, u16 EE_MemAddr, u8*buffer, u16 length);
00022 
00023 
00024 #endif