CardSight 0.1.0
C API reference for the CardSight firmware and application
Loading...
Searching...
No Matches
cardsight_request Struct Reference

One request queued to the worker task. More...

#include <app.h>

Data Fields

enum cardsight_request_type type
 Operation to perform.
uint32_t partition
 Partition number for format and list requests.
enum blk_partition_content content
 File system to create for a format or layout request.
enum blk_partition_table_type table
 Partition table type to write for a layout request.
uint32_t count
 Number of valid entries in entries for a layout request.
bool full
 True for a full format, which erases the partition before writing the file system.
uint32_t selected
 Bit mask of partitions to expose, bit zero being partition one.
char path [VFS_PATH_MAX]
 Directory path for a list request.
struct blk_partition_layout_entry entries [APP_LAYOUT_MAX]
 Partitions of a layout request.

Detailed Description

One request queued to the worker task.

The structure is passed by value through the message queue; only the fields relevant to type are read by the worker.


The documentation for this struct was generated from the following file: