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 to Digital Converter functions to use the Analog-to-Digital Converter interface on the device.

  • Analog Comparators functions to use the Analog Comparator to compare two voltages.

  • BJT Temperature Sensor functions to measure temperature using the Bipolar Junction Transistor (BJT) based temperature sensor.

  • BOD functions to set up and use the Brown Out Detection (BOD) feature.

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

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

  • CRC Accelerator 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 Digital-to-Analog Converter (DAC) 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.

  • eFuse Controller functions to use the e-fuse functionality on the device.

  • GPDMA functions to transfer data from a source peripheral or memory to a destination peripheral or memory.

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

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

  • Hardware Random Number Generator functions to generate Hardware random numbers for cryptographic operations and other purposes.

  • High Speed SPI Secondary functions to control HSPI Secondary interface 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.

  • Operational Amplifier functions to use the operational amplifier (OPAMP) on the device.

  • PCM functions to use PCM

  • PSRAM Driver functions to control PSRAM on the device.

  • Motor Control PWM functions to use the Pulse Width Modulation (PWM) functionality on device.

  • Quadrature Encoder functions to use the Quadrature Encoder Interface (QEI) functionality on device.

  • Sensor Data Collector functions to use the Sensor Data Collector on the device.

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

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

  • System RTC functions to use SYSRTC functionality.

  • ULP Timers 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#

General-Purpose Input-Output

Analog to Digital Converter

Analog Comparators

BJT Temperature Sensor

BOD

Calendar

Configurable Timers

CRC Accelerator

Digital to Analog Converter

Direct Memory Access

Disable UC Config

eFuse Controller

GPDMA

Generic SPI

Hardware Random Number Generator

High Speed SPI Secondary

I2C

I2S

Operational Amplifier

PCM

PSRAM Driver

Motor Control PWM

Quadrature Encoder

Sensor Data Collector

SDIO Secondary

Synchronous Serial Interface

System RTC

ULP Timers

USART

Watchdog Timer