Skip to content

BSP API

The board support package (BSP) is the C API in platform-idf that talks to the CrossPad hardware: I2C, storage, audio codec, display, touch, IMU and the STM32 link. Apps normally use crosspad-core interfaces instead; reach for the BSP when you work on the firmware itself.

These pages are generated from the platform-idf BSP headers. CrossPad.h (legacy app settings) is not listed.

HeaderWhat it coversFunctionsTypesMacros
bsp_es8388.hBSP ES8388 Codec Driver.1442
bsp_sdmmc.hESP BSP: CrossPad.916
bsp_ulp.hBackground work on the ULP RISC-V coprocessor.211
bsp_worker.hOne task for the periodic housekeeping loops.531
cardAccess.h020
config.h002
crosspad_s3.hESP BSP: CrossPad.21324
display.hBSP LCD.518
i2s_driver.hBSP I2S Dual Driver.911
imu.hBSP IMU (ST LSM6DS3TR-C) interface.1850
imu_utils.hUtility functions for IMU data processing.710
indev/encoder.h101
indev/keypad.h100
performance_monitor.hPerformance monitoring utilities for CrossPad.610
pinout/pinout_v1.h0039
pinout/pinout_v2.h0041