eive-obsw/bsp_q7s/memory/definitions.h

27 lines
348 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 {
SLOT_0 = 0,
SLOT_1 = 1,
BOTH,
NONE
2021-07-05 12:09:31 +02:00
};
}
#endif /* BSP_Q7S_MEMORY_DEFINITIONS_H_ */