unleashed-firmware/wiki/fw/Core-API.md
coreglitch 88f25fe1ad
Core api (#138)
* add input debounce code from old fw

* exampl of input api

* change input API to get/release

* revert input API to read

* pointer instead of instance

* add input API description

* add display API

* rewrite display names

* migrate to valuemanager

* add links

* little changes

* add LED API

* add closing brakets

* add sound api

* change format

* Delete input.c

* Delete input.h

* change format

* full links
2020-09-26 02:04:38 +03:00

1.1 KiB

Basic concepts:

  • ValueMutex
  • PubSub, Publisher, Subscriber
  • ValueManager
  • LayeredReducer

HAL

We use Zephyr HAL.

OS

We use CMSIS OS v2 for thread management and IPC.

UI

System

batt voltage

batt charge

CC1101

SPI

IRQ

SD Card

SPI

NFC

SPI

IRQ

IR

TX LED

RX ADC

RFID 125 kHz

Carrier

Pull

Comparator RX (shared with touch key)

Touch key

Pull

Comparator RX (shared with RFID 125 kHz)

External GPIO

External SPI

External I2C

UART

USB

BLE