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.

  • Analog Comparator functions to use the analog comparator to compare two voltages.

  • Analog to Digital Converter functions to use the analog-to-digital converter interface on the device.

  • BJT Temperature Sensor functions to measure temperature using the bipolar junction transistor (BJT) based temperature sensor.

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

  • Cyclic Redundancy Check functions to to calculate and compare with Software CRC for the data which is being transferred via DMA.

  • Digital to Analog Converter functions to use the analog-to-digital converter interface on the device.

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

  • Pulse Width Modulation functions to use the pulse width modulation functionality on device.

  • RO Temperature Sensor functions to measure temperature using the Ring Oscillator (RO) temperature sensor.

  • System RTC functions to use SYSRTC functionality.

  • SDIO Secondary Secondary functions to control SDIO Secondary 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.

  • ERROR CODES Platform ERROR CODES and its Description.

  • PLATFORM EXAMPLES Examples Available in the Platform and its Demonstration.

Modules#

Analog Comparator

Analog to Digital Converter

BJT Temperature Sensor

Calendar

Config Timer

Cyclic Redundancy Check

Digital to Analog Converter

Direct Memory Access

Disable UC Config

E-Fuse

General-Purpose Input-Output

Generic SPI

I2C

I2S

PSRAM Driver

Pulse Width Modulation

RO Temperature Sensor

SDIO Secondary

Serial Input-Output

Synchronous Serial Interface

System RTC

Ultra Low-Power Timer

USART

Watchdog Timer

ERROR CODES

PLATFORM EXAMPLES