Kleidos API Search

In development. It changes without notice.

Topic

Hardware Abstraction Layer

What the application calls instead of a chip: display, input, power and battery, motion, sound, SD card, clock and GPS.

Each of those is an interface here, with the implementations the boards use beside it. The application includes the interface and never a chip's driver.

The hardware layers. An arrow reads: uses.Applicationstates, UI, vault, BLEhalinterfaces and back endsboardsone record per boarddriversone class per chipplatformI2C, SPI, GPIO, I2SDiagram
The hardware layers. An arrow reads: uses.

A board's source creates its implementations and registers one record of them (BoardDef, Board Configurations). The bring-up (Board Bring-up) and the implementations get their chips from the factories of Device Drivers, which probe for the part that is fitted. What each board has is in The boards.

See also
Board Description, Board Bring-up, Input Sources & the Wake Rule, Power, Battery & Parking, Motion & Shake-to-Lock, SD Card, Display, Sound: Catalog, Renderers & Speaker, Clock Chip Back End, GPS Time Sync, Board Configurations, Device Drivers

Topics

Board Description
The record of a board's hardware, where it is registered, and how often a chip that has to be polled is read.
Board Bring-up
The start of a board's hardware and its update on each tick.
Input Sources & the Wake Rule
Buttons, keyboards, trackball and touch behind four interfaces, and the rule that the first input on a dark panel only wakes it.
Power, Battery & Parking
How each board sleeps, why it woke, what its battery says, and how hardware that nothing is using is switched off.
Motion & Shake-to-Lock
The shake that locks the device, and the motion sensor behind it.
SD Card
The SD card: mounting it for as long as an action lasts, formatting it, and settling it at boot, on the boards that have a slot.
Display
The panel: its surface, its text, its frames and its light.
Sound: Catalog, Renderers & Speaker
The sounds as data, the two renderers that turn one into what a board plays, and the task that plays it.
Clock Chip Back End
The wall clock kept by a BM8563 chip, on the boards that have one.
GPS Time Sync
The time from a GPS receiver: one sync when the owner asks for it, and the receiver at rest otherwise.
Board Configurations
One source for each board, which creates its parts and registers the record of them.