Hardware Abstraction Layer (HAL)
HAL API Reference
The following provides a list of HAL API documentation
[detail level 1234]
 HAL General Types/MacrosThis section documents the basic types and macros that are used by multiple HAL drivers
 Result Type
 General TypesThis section documents the basic types that are used by multiple HAL drivers
 Result CodesHAL specific return codes definitions for all drivers
 Clock HAL ResultsClock specific return codes
 DMA HAL ResultsDMA specific return codes
 Ethernet HAL ResultsEthernet specific return codes
 GPIO HAL ResultsGPIO specific return codes
 HWMGR HAL ResultsHWMGR specific return codes
 I2C HAL ResultsI2C specific return codes
 IPC HAL ResultsIPC specific return codes
 LPTimer HAL ResultsLPTimer specific return codes
 PWM HAL ResultsPWM specific return codes
 SPI HAL ResultsSPI specific return codes
 SYSPM HAL ResultsSYSPM specific return codes
 SYSTEM HAL ResultsSYSTEM specific return codes
 Timer HAL ResultsTimer specific return codes
 UART HAL ResultsUART specific return codes
 WDT HAL ResultsWDT specific return codes
 System Power ManagementInterface for changing power states and restricting when they are allowed
 SYSPM HAL ResultsSYSPM specific return codes
 ClockInterface for getting and changing clock configuration
 Clock HAL ResultsClock specific return codes
 Group_hal_tolerance
 Overrideable MacrosThese macros can be defined to a custom value globally to modify the behavior of the HAL
 Implementation Specific TypesThe following types are used by the HAL, but are defined by the implementation
 HAL Driver AvailabilityThis section documents the macros that can be used to check if a specific driver is available for the current device
 HAL DriversThis section documents the drivers which form the stable API of the ModusToolbox™ HAL
 ClockInterface for getting and changing clock configuration
 Clock HAL ResultsClock specific return codes
 Group_hal_tolerance
 DMA (Direct Memory Access)High level interface for interacting with the direct memory access (DMA)
 DMA HAL ResultsDMA specific return codes
 Ethernet (Ethernet interface)High level interface for interacting with the Ethernet
 Ethernet HAL ResultsEthernet specific return codes
 Group_hal_ethernet_headerSome Ethernet Header types (see IEEE 802.3 for full list)
 System Power ManagementInterface for changing power states and restricting when they are allowed
 SYSPM HAL ResultsSYSPM specific return codes
 GPIO (General Purpose Input Output)High level interface for configuring and interacting with general purpose input/outputs (GPIO)
 GPIO HAL ResultsGPIO specific return codes
 HWMGR (Hardware Manager)High level interface to the Hardware Manager
 HWMGR HAL ResultsHWMGR specific return codes
 I2C (Inter-Integrated Circuit)High level interface for interacting with the I2C resource
 I2C HAL ResultsI2C specific return codes
 IPC (Inter-Processor Communication)High level interface for communicating between processors on a multi-core device
 IPC HAL ResultsIPC specific return codes
 LPTimer (Low-Power Timer)High level interface for interacting with the low-power timer (LPTimer)
 LPTimer HAL ResultsLPTimer specific return codes
 M2M DMA (Memory-to-Memory Direct Memory Access)High level interface for interacting with the memory-to-memory direct memory access (DMA)
 PWM (Pulse Width Modulator)High level interface for interacting with the pulse width modulator (PWM) hardware resource
 PWM HAL ResultsPWM specific return codes
 SPI (Serial Peripheral Interface)High level interface for interacting with the Serial Peripheral Interface (SPI)
 SPI HAL ResultsSPI specific return codes
 SystemHigh level interface for interacting with reset and delays
 SYSTEM HAL ResultsSYSTEM specific return codes
 Timer (Timer/Counter)High level interface for interacting with the Timer/Counter hardware resource
 Timer HAL ResultsTimer specific return codes
 UART (Universal Asynchronous Receiver-Transmitter)High level interface for interacting with the Universal Asynchronous Receiver-Transmitter (UART)
 UART HAL ResultsUART specific return codes
 WDT (Watchdog Timer)High level interface to the Watchdog Timer (WDT)
 WDT HAL ResultsWDT specific return codes
 CAT4 (4390X) Implementation SpecificThis section provides details about the 4390X implementation of the Cypress HAL
 ClocksImplementation specific interface for using the Clock driver
 DMA (Direct Memory Access)DMA allows transferring data in SRAM without CPU intervention
 4390X Specific Hardware TypesAliases for types which are part of the public HAL interface but whose representations need to vary per HAL implementation
 Group_hal_ethernet_headerSome Ethernet Header types (see IEEE 802.3 for full list)
 M2M DMA (Memory-to-Memory Direct Memory Access)M2M DMA allows transferring data between memory regions without CPU intervention
 PinsDefinitions for the pinout for each supported device
 SystemRoutines for accessing global resources shared across multiple drivers
 TriggersTrigger connections for supported device families
 I2C
 PWM (Pulse Width Modulator)
 SPI
 Power ManagementCAT4 (CYW943907 and CYW954907) devices use SLEEP and DEEPSLEEP
 Timer
 UART