This section documents the macros that can be used to check if a specific driver is available for the current device.
This includes macros for all HAL drivers that exist for any device, even those that are not applicable (included) with this library. This is intended to help write code that can port between device categories that might not have the same drivers available.
|
#define | MTB_HAL_COMP_IMPL_HEADER "mtb_hal_comp_impl.h" |
|
#define | MTB_HAL_MAP_I2C_TARGET_READ_EVENT (CY_SCB_I2C_SLAVE_READ_EVENT) |
| I2C HAL to PDL enum map to enable/disable/report interrupt cause flags.
|
|
#define | MTB_HAL_MAP_SPI_IRQ_DATA_IN_FIFO (CY_SCB_SPI_TRANSFER_IN_FIFO_EVENT) |
| SPI HAL to PDL enum map to enable/disable/report interrupt cause flags.
|
|
#define | MTB_HAL_MAP_TIMER_EVENT_NONE (CY_TCPWM_INT_NONE) |
| Timer HAL to PDL enum map for defining timer events.
|
|
#define | MTB_HAL_MAP_UART_IRQ_TX_TRANSMIT_IN_FIFO (CY_SCB_UART_TRANSMIT_IN_FIFO_EVENT) |
| UART HAL to PDL enum map to enable/disable/report interrupt cause flags.
|
|
#define | MTB_HAL_DRIVER_AVAILABLE_CLOCK (1u) |
| Macro specifying whether the Clock driver is available for the current device.
|
|
#define | MTB_HAL_DRIVER_AVAILABLE_DMA (1u) |
| Macro specifying whether the DMA driver is available for the current device.
|
|
#define | MTB_HAL_DRIVER_AVAILABLE_GPIO_PORT (1u) |
| Macro specifying whether the GPIO Port driver is available for the current device.
|
|
◆ mtb_hal_pwm_t
◆ MTB_HAL_COMP_IMPL_HEADER
#define MTB_HAL_COMP_IMPL_HEADER "mtb_hal_comp_impl.h" |
IP-specific implementation header for Comp