Crate capsules_extra

Source

Modules§

adc_microphone
air_quality
Provides userspace with access to air quality sensors.
ambient_light
Shared userland driver for light sensors.
analog_comparator
Provides userspace access to the analog comparators on a board.
analog_sensor
Capsule for analog sensors.
apds9960
Proximity SyscallDriver for the Adafruit APDS9960 gesture/ambient light/proximity sensor.
app_flash_driver
This allows multiple apps to write their own flash region.
at24c_eeprom
Driver for the AT24C32/64 EEPROM memory. Built on top of the I2C interface. Provides interface for the NonvolatileToPages driver.
atecc508a
Capsule for interfacing with the ATECC508A CryptoAuthentication Device using the I2C bus.
ble_advertising_driver
Bluetooth Low Energy Advertising Driver
bme280
SyscallDriver for the Bosch BME280 Combined humidity and pressure sensor using the I2C bus.
bmm150
SyscallDriver for the Bosch BMM150 geomagnetic sensor.
bmp280
hil driver for Bmp280 Temperature and Pressure Sensor
bus
Abstraction Interface for several busses. Useful for devices that support multiple protocols
buzzer_driver
This provides virtualized userspace access to a buzzer.
buzzer_pwm
Service capsule for a buzzer that uses a PWM pin.
can
Syscall driver capsule for CAN communication.
ccs811
SyscallDriver for the AMS CCS811.
chirp_i2c_moisture
Chirp I2C Soil moisture sensor using the I2C bus.
crc
Provides userspace access to a Crc unit.
cycle_count
Provides a cycle counter interface for userspace.
dac
Provides a DAC interface for userspace.
date_time
Real Time Clock driver
debug_process_restart
Debug capsule to cause a button press to make all apps fault.
dfrobot_rainfall_sensor
DFRobot Gravity Rainfall sensor using the I2C bus.
distance
Provides userspace with access to distance sensor.
eui64
Provides an EUI-64 (Extended Unique Identifier) interface for userspace.
fm25cl
SyscallDriver for the FM25CL FRAM chip.
ft6x06
SyscallDriver for the FT6x06 Touch Panel.
fxos8700cq
SyscallDriver for the FXOS8700CQ accelerometer.
gpio_async
Provides userspace applications with a driver interface to asynchronous GPIO pins.
hc_sr04
HC-SR04 Ultrasonic Distance Sensor.
hd44780
SyscallDriver for the HD44780 LCD screen.
hmac
HMAC (Hash-based Message Authentication Code).
hmac_sha256
Software implementation of HMAC-SHA256.
hs3003
Sensor Driver for the Renesas HS3003 Temperature/Humidity sensor using the I2C bus.
hts221
SyscallDriver for the STMicro HTS221 relative humidity and temperature sensor using the I2C bus.
humidity
Provides userspace with access to humidity sensors.
ieee802154
Support for IEEE 802.15.4.
isl29035
SyscallDriver for the ISL29035 digital light sensor.
isolated_nonvolatile_storage_driver
This provides userspace access to nonvolatile storage.
kv_driver
KV Store Userspace Driver.
kv_store_permissions
Tock Key-Value store capsule with permissions.
l3gd20
SyscallDriver for the MEMS L3gd20Spi motion sensor, 3 axys digital output gyroscope and temperature sensor.
led_matrix
Service capsule for access to LEDs on a LED matrix.
log
Implements a log storage abstraction for storing persistent data in flash.
lpm013m126
Frame buffer driver for the Japan Display LPM013M126 display
lps22hb
Sensor Driver for the LPS22HB MEMS nano pressure sensor using the I2C bus.
lps25hb
SyscallDriver for the ST LPS25HB pressure sensor.
lsm6dsoxtr
LSM6DSOXTR Sensor
lsm303agr
SyscallDriver for the LSM303AGR 3D accelerometer and 3D magnetometer sensor.
lsm303dlhc
SyscallDriver for the LSM303DLHC 3D accelerometer and 3D magnetometer sensor.
lsm303xx
LSM303xx Sensors
ltc294x
SyscallDriver for the LTC294X line of coulomb counters.
max17205
SyscallDriver for the Maxim MAX17205 fuel gauge.
mcp230xx
SyscallDriver for the Microchip MCP230xx I2C GPIO extenders.
mlx90614
SyscallDriver for the MLX90614 Infrared Thermometer.
moisture
Provides userspace with access to moisture sensors.
mx25r6435f
SyscallDriver for the MX25R6435F flash chip.
net
Modules for IPv6 over 6LoWPAN stack
ninedof
Provides userspace with virtualized access to 9DOF sensors.
nonvolatile_storage_driver
This provides kernel and userspace access to nonvolatile memory.
nonvolatile_to_pages
Map arbitrary nonvolatile reads and writes to page operations.
nrf51822_serialization
Provides userspace with the UART API that the nRF51822 serialization library requires.
panic_button
Debug capsule to cause a button press to trigger a kernel panic.
pca9544a
SyscallDriver for the PCA9544A I2C Selector.
pressure
Provides userspace with access to barometer sensors.
proximity
Provides userspace with access to proximity sensors.
public_key_crypto
Provides capsules for asymmetric encryption
pwm
rainfall
Provides userspace with access to rain fall sensors.
read_only_state
Read Only State
rf233
SyscallDriver for sending 802.15.4 packets with an Atmel RF233.
rf233_const
Support for the RF233 capsule
screen
Provides userspace with access to the screen.
screen_shared
Shares a screen among multiple userspace processes.
sdcard
Provides driver for accessing an SD Card and a userspace Driver.
servo
This provides virtualized userspace access to a servomotor.
seven_segment
Provides userspace access to 7 segment digit displays.
sg90
sh1106
SH1106 OLED Screen Driver
sha
SHA
sha256
Software implementation of SHA-256.
sht3x
SyscallDriver for SHT3x Temperature and Humidity Sensor
sht4x
Driver for SHT4x Temperature and Humidity Sensor
si7021
SyscallDriver for the Silicon Labs SI7021 temperature/humidity sensor.
sip_hash
Tock SipHash capsule.
sound_pressure
Provides userspace with access to sound_pressure sensors.
ssd1306
SSD1306/SSD1315 OLED Screen
st77xx
ST77xx Screen
symmetric_encryption
temperature
Provides userspace with access to temperature sensors.
temperature_rp2040
SyscallDriver for RP2040 ADC MCU temperature sensor
temperature_stm
SyscallDriver for STM ADC MCU temperature sensor
test
text_screen
Provides userspace with access to the text screen.
tickv
Tock TicKV capsule.
tickv_kv_store
TicKV to Tock key-value store capsule.
touch
Provides userspace with access to the touch panel.
tsl2561
SyscallDriver for the Taos TSL2561 light sensor.
tutorials
usb
usb_hid_driver
Provides userspace with access to USB HID devices with a simple syscall interface.
virtual_kv
Tock Key-Value virtualizer.

Macros§

dec_consume
The decoding equivalent of enc_consume
dec_try
The decoding equivalent of enc_try. The only difference is that only an immutable borrow of the buffer is required each time.
default_parameters_sequence
enc_consume
Unwrapping macro that only returns the offset.
enc_try
Extracts the result of encoding/decoding (the new offset and the output) only if no errors were encountered in encoding.
stream_cond
Returns an error if a condition is unmet
stream_done
Returns the result of encoding/decoding
stream_err
Returns an error
stream_from_option
Gets the result of an Option<T>, throwing a stream error if it is None
stream_len_cond
Returns a buffer length error if there are not enough bytes