repo time

Dependencies:   mbed MAX14720 MAX30205 USBDevice

Committer:
darienf
Date:
Tue Apr 06 06:41:40 2021 +0000
Revision:
20:6d2af70c92ab
another repo

Who changed what in which revision?

UserRevisionLine numberNew contents of line
darienf 20:6d2af70c92ab 1 #ifndef _LOGGING_H_
darienf 20:6d2af70c92ab 2 #define _LOGGING_H_
darienf 20:6d2af70c92ab 3
darienf 20:6d2af70c92ab 4 #include "mbed.h"
darienf 20:6d2af70c92ab 5
darienf 20:6d2af70c92ab 6 /**
darienf 20:6d2af70c92ab 7 * @brief This will read the mission location and if there is something valid,
darienf 20:6d2af70c92ab 8 * then run the Logging_ProcessMissionCmds()
darienf 20:6d2af70c92ab 9 * @param cmdBuffer buffer
darienf 20:6d2af70c92ab 10 */
darienf 20:6d2af70c92ab 11 uint32_t Logging_IsMissionDefined(uint8_t *cmdBuffer);
darienf 20:6d2af70c92ab 12
darienf 20:6d2af70c92ab 13 int8_t Logging_ReadMissionFromFlash(uint8_t *buffer);
darienf 20:6d2af70c92ab 14
darienf 20:6d2af70c92ab 15 // return the page where mission is defined, Mission specific
darienf 20:6d2af70c92ab 16 uint32_t Logging_GetMissionStartPage(void);
darienf 20:6d2af70c92ab 17
darienf 20:6d2af70c92ab 18 // return the page where the mission definition ends, Mission specific
darienf 20:6d2af70c92ab 19 uint32_t Logging_GetMissionEndPage(void);
darienf 20:6d2af70c92ab 20
darienf 20:6d2af70c92ab 21 // Returns the location where the Writing can start from, for data logging...
darienf 20:6d2af70c92ab 22 uint32_t Logging_GetLoggingStartPage(void);
darienf 20:6d2af70c92ab 23
darienf 20:6d2af70c92ab 24 // Returns the end location available where the Flash ends essentially.... for
darienf 20:6d2af70c92ab 25 // data logging.
darienf 20:6d2af70c92ab 26 uint32_t Logging_GetLoggingEndPage(void);
darienf 20:6d2af70c92ab 27
darienf 20:6d2af70c92ab 28 // returns one if the usb is connected, zero if not
darienf 20:6d2af70c92ab 29 uint32_t Usb_IsConnected(void);
darienf 20:6d2af70c92ab 30
darienf 20:6d2af70c92ab 31 void Logging_SetStart(bool state);
darienf 20:6d2af70c92ab 32
darienf 20:6d2af70c92ab 33 bool Logging_GetStart(void);
darienf 20:6d2af70c92ab 34
darienf 20:6d2af70c92ab 35 #endif /* _LOGGING_H_ */