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
 GPIO HAL ResultsGPIO specific return codes
 LPTimer HAL ResultsLPTimer specific return codes
 MemorySPI HAL ResultsMemorySPI specific return codes
 NVM HAL ResultsNVM specific return codes
 SPI HAL ResultsSPI specific return codes
 SYSPM HAL ResultsSYSPM specific return codes
 SYSTEM HAL ResultsSYSTEM specific return codes
 UART HAL ResultsUART specific return codes
 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 enabling or disabling the clock and updating the clock frequency
 Clock HAL ResultsClock 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
 LPTimer (Low-Power Timer)High level interface for interacting with the low-power timer (LPTimer)
 LPTimer HAL ResultsLPTimer specific return codes
 MemorySPI (Memory Serial Peripheral Interface)High level interface for interacting with the Memory SPI interface
 MemorySPI HAL ResultsMemorySPI specific return codes
 NVM (Onboard Non-Volatile Memory)High level interface to the onboard Non-Volatile memory (Internal Flash, RRAM, OTP region)
 NVM HAL ResultsNVM specific return codes
 SPI (Serial Peripheral Interface)High level interface for interacting with the Serial Peripheral Interface (SPI)
 SPI HAL ResultsSPI specific return codes
 System Power ManagementInterface for changing power states and restricting when they are allowed
 SYSPM HAL ResultsSYSPM specific return codes
 SystemHigh level interface for interacting with reset and delays
 SYSTEM HAL ResultsSYSTEM 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
 Implementation SpecificThis section provides details about the implementation of the Infineon HAL
 Specific Hardware TypesAliases for types which are part of the public HAL interface but whose representations need to vary per HAL implementation
 LPTimer (Low-Power Timer)The the maximum number of ticks that can be set to an LPTimer is 0xFFFFFFFF since C0 and C1 do not cascade
 System Power ManagementThe Power Management has the following characteristics:
MTB_HAL_SYSPM_CB_SYSTEM_NORMAL equates to the Low Power mode
MTB_HAL_SYSPM_CB_SYSTEM_LOW equates to the Ultra Low Power mode
 MemorySPI (Memory Serial Peripheral Interface)
 SPI (Serial Peripheral Interface)