eive-obsw/bsp_q7s/memory/definitions.h

20 lines
340 B
C
Raw Normal View History

2021-07-05 12:09:31 +02:00
#ifndef BSP_Q7S_MEMORY_DEFINITIONS_H_
#define BSP_Q7S_MEMORY_DEFINITIONS_H_
2021-07-12 11:37:10 +02:00
#include <cstdint>
2021-07-05 12:09:31 +02:00
namespace sd {
2022-01-17 15:58:27 +01:00
enum SdState : uint8_t {
OFF = 0,
ON = 1,
// A mounted SD card is on as well
MOUNTED = 2
2021-07-12 11:37:10 +02:00
};
2022-01-17 15:58:27 +01:00
enum SdCard : uint8_t { SLOT_0 = 0, SLOT_1 = 1, BOTH, NONE };
2021-07-05 12:09:31 +02:00
2022-01-17 15:58:27 +01:00
} // namespace sd
2021-07-05 12:09:31 +02:00
#endif /* BSP_Q7S_MEMORY_DEFINITIONS_H_ */