Hardware Abstraction Layer (HAL)
HAL Drivers

General Description

This section documents the drivers which form the stable API of the ModusToolbox™ HAL.

In order to remain portable across platforms and HAL versions, applications should rely only on functionality documented in this section.

API Reference

 ADC (Analog to Digital Converter)
 High level interface for interacting with the analog to digital converter (ADC).
 
 Clock
 Interface for getting and changing clock configuration.
 
 COMP (Analog Comparator)
 High level interface for interacting with an analog Comparator.
 
 CRC (Cyclic Redundancy Check)
 High level interface for interacting with the CRC, which provides hardware accelerated CRC computations.
 
 DMA (Direct Memory Access)
 High level interface for interacting with the direct memory access (DMA).
 
 EZI2C (Inter-Integrated Circuit)
 High level interface for interacting with the Cypress EZ Inter-Integrated Circuit (EZI2C).
 
 Flash (Flash System Routine)
 High level interface to the internal flash memory.
 
 System Power Management
 Interface for changing power states and restricting when they are allowed.
 
 GPIO (General Purpose Input Output)
 High level interface for configuring and interacting with general purpose input/outputs (GPIO).
 
 HWMGR (Hardware Manager)
 High level interface to the Hardware Manager.
 
 I2C (Inter-Integrated Circuit)
 
High level interface for interacting with the I2C resource.
 
 I2S (Inter-IC Sound)
 
High level interface for interacting with the Inter-IC Sound (I2S).
 
 Interconnect (Internal Digital Routing)
 High level interface to the Infineon digital routing.
 
 LPTimer (Low-Power Timer)
 High level interface for interacting with the low-power timer (LPTimer).
 
 Opamp (Operational Amplifier)
 High level interface for interacting with the Operational Amplifier (Opamp).
 
 PWM (Pulse Width Modulator)
 High level interface for interacting with the pulse width modulator (PWM) hardware resource.
 
 Quadrature Decoder
 High level interface for interacting with the Quadrature Decoder hardware resource.
 
 SPI (Serial Peripheral Interface)
 High level interface for interacting with the Serial Peripheral Interface (SPI).
 
 System
 High level interface for interacting with reset and delays.
 
 TDM (Time Division Multiplexed)
 
High level interface for interacting with the Time Division Multiplexed controller (TDM).
 
 Timer (Timer/Counter)
 High level interface for interacting with the Timer/Counter hardware resource.
 
 TRNG (True Random Number Generator)
 High level interface to the True Random Number Generator (TRNG).
 
 UART (Universal Asynchronous Receiver-Transmitter)
 High level interface for interacting with the Universal Asynchronous Receiver-Transmitter (UART).
 
 WDT (Watchdog Timer)
 
High level interface to the Watchdog Timer (WDT).