This section provides details about the 4390X implementation of the Cypress HAL.
All information within this section is platform specific and is provided for reference. Portable application code should depend only on the APIs and types which are documented in the HAL Drivers section.
cyhal_<peripheral>_init_cfg
functions are unsupported on this platform, and will return an error if called.The following table shows a mapping of each HAL driver to the lower level firmware driver and the corresponding hardware resource. This is intended to help understand how the HAL is implemented for 4390X and what features the underlying hardware supports.
HAL Resource | CAT4 Hardware |
---|---|
Clock | All clocks (system & peripheral) |
DMA | M2M DMA |
Ethernet | Ethernet |
GPIO | GPIO |
Hardware Manager | NA |
LPTimer | PMU Timer |
M2M DMA | M2M DMA |
PWM | PWM |
SysPM | System Power Resources |
System | System Resources |
Timer | CPU Timer |
UART | Fast, Slow, GCI UARTs |
WDT | WDT |
API Reference | |
Clocks | |
Implementation specific interface for using the Clock driver. | |
DMA (Direct Memory Access) | |
DMA allows transferring data in SRAM without CPU intervention. | |
4390X Specific Hardware Types | |
Aliases for types which are part of the public HAL interface but whose representations need to vary per HAL implementation. | |
M2M DMA (Memory-to-Memory Direct Memory Access) | |
M2M DMA allows transferring data between memory regions without CPU intervention. | |
Pins | |
Definitions for the pinout for each supported device. | |
System | |
Routines for accessing global resources shared across multiple drivers. | |
Triggers | |
Trigger connections for supported device families. | |
I2C | |
PWM (Pulse Width Modulator) | |
SPI | |
Power Management | |
CAT4 (CYW943907 and CYW954907) devices use SLEEP and DEEPSLEEP. | |
Timer | |
UART | |