eive-obsw/bsp_q7s/memory/definitions.h

26 lines
330 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 {
2021-07-12 11:37:10 +02:00
enum SdStatus: uint8_t {
OFF = 0,
ON = 1,
// A mounted SD card is on as well
MOUNTED = 2
};
enum SdCard: uint8_t {
2021-07-05 12:09:31 +02:00
SLOT_0,
2021-07-08 11:23:08 +02:00
SLOT_1,
BOTH
2021-07-05 12:09:31 +02:00
};
}
#endif /* BSP_Q7S_MEMORY_DEFINITIONS_H_ */