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.

  • 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).

  • Memory LCD functions to access the liquid crystal display (LCD) peripheral on the device.

  • Sleep Timer functions to access software timers, delays, timekeeping, and date features using a low-frequency real-time clock.

  • Input-Output Stream functions to perform input/output by creating streams.

  • Non-volatile Memory functions to access the non-volatile memory (NVM3) driver to maintain key-value pairs in flash memory.

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

  • 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 I2C controllers 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#

Calendar

Config Timer

Direct Memory Access

Memory LCD

Sleep Timer

Input-Output Stream

Non-volatile Memory

Disable UC Config

General-Purpose Input-Output

Generic SPI

I2C

Serial Input-Output

Synchronous Serial Interface

Ultra Low-Power Timer

USART

Watchdog Timer