|
CardSight 0.1.0
C API reference for the CardSight firmware and application
|
| software | |
| apps | |
| cardsight | |
| app | |
| app.h | Public application state and the request message the UI sends |
| storage | |
| proxy_lazy.h | Public interface of the lazy exFAT proxy view |
| storage_proxy.h | Public interface of the exFAT proxy view |
| ui | |
| ui.h | Entry points of the CardSight touch UI |
| include | |
| drm | |
| sunxi_display.h | The panel: its size and pixel format, and the rectangle writes the UI flushes through |
| gui | |
| lvgl_port.h | LVGL on this board: the display flush, the touch screen as the input device, and a way for other tasks to ask the LVGL task to run a function |
| hal | |
| mmc | |
| card.h | The card as the application sees it: what it is, how it is accessed and what the host found |
| cid.h | The card identification register, decoded |
| core.h | SD/MMC core: the description of the card and the disk it creates ("mmcblk0") |
| host.h | The cards of the board |
| blkdev.h | Block devices: disks made by a driver, the partitions found in their table, and the checked transfers on them |
| cache.h | Data cache maintenance for DMA |
| delay.h | Delays and the wall clock: the kernel tick counts milliseconds from the boot |
| device.h | The tiny device model the mmc card and the block layer need: a name and a reference count |
| io.h | MMIO accessors |
| kernel.h | What a driver or the application needs from the kernel: FreeRTOS itself, the small wrappers above it (mutex, semaphore, message queue, delays) and the shared helpers |
| ktime.h | A finer clock for timings: microseconds, from the same tick |
| message_queue.h | Message queues: fixed-size items between tasks |
| mutex.h | Mutexes |
| semaphore.h | Counting semaphores |
| usb | |
| mass_storage.h | A block device exported as a USB mass storage LUN: the host sees a disk and reads and writes the sectors of the block device behind it |
| bits.h | Small helpers shared by the whole tree: array sizes, value bounds, and address arithmetic |
| console.h | The console stream the log, the shell and the C library's stdout share |
| init.h | Init calls: functions that run in order after the kernel is up |
| irq.h | The interrupt helpers the device stack's FreeRTOS glue expects |
| log.h | Kernel log messages: printf-style output at a level, prefixed with the module that prints |
| shell.h | The command line on the console: commands are registered in a linker section, the shell splits a line and calls the matching one |
| size.h | Capacity display in the decimal units a card is sold in: 1 kB is 1000 bytes, so a 32 GB card reads "32 GB" rather than "29.7 GiB" |
| vfs.h | Virtual file system: block devices, mount points, one name space |