MAX32620HSP (MAXREFDES100) RPC Example for Graphical User Interface

Dependencies:   USBDevice

Fork of HSP_Release by Jerry Bradshaw

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Logging.h Source File

Logging.h

00001 #ifndef _LOGGING_H_
00002 #define _LOGGING_H_
00003 
00004 #include "mbed.h"
00005 
00006 /**
00007 * @brief This will read the mission location and if there is something valid,
00008 * then run the  Logging_ProcessMissionCmds()
00009 * @param cmdBuffer buffer
00010 */
00011 uint32_t Logging_IsMissionDefined(uint8_t *cmdBuffer);
00012 
00013 int8_t Logging_ReadMissionFromFlash(uint8_t *buffer);
00014 
00015 // return the page where mission is defined, Mission specific
00016 uint32_t Logging_GetMissionStartPage(void);
00017 
00018 // return the page where the mission definition ends, Mission specific
00019 uint32_t Logging_GetMissionEndPage(void);
00020 
00021 // Returns the location where the Writing can start from, for data logging...
00022 uint32_t Logging_GetLoggingStartPage(void);
00023 
00024 // Returns the end location available where the Flash ends essentially.... for
00025 // data logging.
00026 uint32_t Logging_GetLoggingEndPage(void);
00027 
00028 // returns one if the usb is connected, zero if not
00029 uint32_t Usb_IsConnected(void);
00030 
00031 void Logging_SetStart(bool state);
00032 
00033 bool Logging_GetStart(void);
00034 
00035 #endif /* _LOGGING_H_ */