APIs#

This section provides a reference to the Si91x Peripheral API including the functions, data types, and constants provided for various peripherals on the SiWx917™ chipset.

  • ADC functions to use the analog-to-digital converter interface on the device.

  • Calendar functions to set or get the current RTC time and date.

  • Config Timer functions to create timers to count clocks and events, capture events on the GPIOs in input mode, and output modulated signals.

  • Direct Memory Access functions to transfer data from a source peripheral or memory to a destination peripheral or memory over one or more advanced high-performance buses (AHBs).

  • Disable UC Config section providing information on disabling certain peripherals that are enabled by default.

  • E-Fuse functions to use the e-fuse functionality on the device.

  • General-Purpose Input-Output functions to set, clear, and toggle pins, program them as input/output pins, and generate interupts including group interrupts.

  • Generic SPI functions to access input/output (I/O) interfaces to a wide variety of SPI-compatible peripherals on the device.

  • I2C functions to access the Inter-Integrated Circuit (I2C) controllers on the device.

  • I2S functions to access the Inter-Integrated Circuit Sound (I2S) interface on the device.

  • PSRAM Driver functions to control PSRAM on the device.

  • PWM functions to use the pulse width modulation functionality on device.

  • System RTC functions to use SYSRTC functionality.

  • SDIO Secondary functions to control SDIO interface on the device.

  • Serial Input-Output functions to access the regular GPIO pins and enhanced serial stream processing.

  • Synchronous Serial Interface functions to access the SSI controllers on the device.

  • Ultra Low-Power Timer functions to use low-power timers to count clocks, microseconds, milliseconds, seconds, and minutes with both ref clock and system (SoC) clock.

  • USART functions to access the Universal Synchronous/Asynchronous Receiver/Transmitter (USART) interfaces on the device.

  • Watchdog Timer functions to generate interrupts on timeout or a system reset on system failure.

Modules#

ADC

Calendar

Config Timer

Direct Memory Access

Disable UC Config

E-Fuse

General-Purpose Input-Output

Generic SPI

I2C

I2S

PSRAM Driver

PWM

SDIO Secondary

Serial Input-Output

Synchronous Serial Interface

System RTC

Ultra Low-Power Timer

USART

Watchdog Timer