Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
disk.h
Go to the documentation of this file.
1
9#ifndef INFUSE_SDK_INCLUDE_INFUSE_VALIDATION_DISK_H_
10#define INFUSE_SDK_INCLUDE_INFUSE_VALIDATION_DISK_H_
11
12#include <zephyr/device.h>
13#include <zephyr/sys/util.h>
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
24enum {
33};
34
44int infuse_validation_disk(const char *disk, uint8_t flags);
45
50#ifdef __cplusplus
51}
52#endif
53
54#endif /* INFUSE_SDK_INCLUDE_INFUSE_VALIDATION_DISK_H_ */
int infuse_validation_disk(const char *disk, uint8_t flags)
Validate the behaviour of external disks.
@ VALIDATION_DISK_DRIVER
Rigorous driver behavioural tests.
Definition disk.h:28
@ VALIDATION_DISK_ERASE
Perform a full disk erase.
Definition disk.h:32
@ VALIDATION_DISK_POWER_UP
Validate that flash powers up.
Definition disk.h:26
@ VALIDATION_DISK_THROUGHPUT
Read and write throughput.
Definition disk.h:30