Hwlib
NOS3 hardware abstraction library
Install / Use
/learn @nasa-itc/HwlibREADME
Hardware Library
The hardware library provides an abstraction layer for hardware interfaces across platforms such as:
- linux
- nos-linux
Note that the hardware library does not include cfe.h or osapi.h.
When using with cFS these includes must be in the cpuX_device_cfg.h file.
Protocol Specifics
CAN
Note that the currently maximum number of allocated devices is 30.
I2C
Note that the currently maximum number of allocated devices is 30.
SPI
Note that currently the maximum number of allocated buses is 3, with each bus supporting 10 devices. Due to the use of GPIO pins as chip selects, it is expected that the following order is used when leveraging a device:
spi_select_chip- this grabs the bus specific mutex- Select GPIO pin if necessary
spi_transaction- multiple if necessary
- Unselect GPIO pin if necessary
spi_unselect_chip
UART
Note that the currently maximum number of allocated devices is 30.
Related Skills
node-connect
353.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
353.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
353.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
