Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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_ReadMissionFromSDCard(uint8_t *buffer); 00014 00015 int8_t Logging_ReadMissionFromFlash(uint8_t *buffer); 00016 00017 // return the page where mission is defined, Mission specific 00018 uint32_t Logging_GetMissionStartPage(void); 00019 00020 // return the page where the mission definition ends, Mission specific 00021 uint32_t Logging_GetMissionEndPage(void); 00022 00023 // Returns the location where the Writing can start from, for data logging... 00024 uint32_t Logging_GetLoggingStartPage(void); 00025 00026 // Returns the end location available where the Flash ends essentially.... for 00027 // data logging. 00028 uint32_t Logging_GetLoggingEndPage(void); 00029 00030 // returns one if the usb is connected, zero if not 00031 uint32_t Usb_IsConnected(void); 00032 00033 void Logging_SetStart(bool state); 00034 00035 bool Logging_GetStart(void); 00036 00037 #endif /* _LOGGING_H_ */ 00038
Generated on Wed Jul 13 2022 08:45:46 by
1.7.2