Hardware Abstraction Layer (HAL)
Specific Hardware Types

General Description

Aliases for types which are part of the public HAL interface but whose representations need to vary per HAL implementation.

Provides implementation specific values for types that are part of the portable HAL UART API.

Provides implementation specific values for types that are part of the portable HAL TRNG API.

Provides implementation specific values for types that are part of the portable HAL Timer API.

Provides implementation specific values for types that are part of the portable HAL System API.

Provides implementation specific values for types that are part of the portable HAL SysPm API.

Provides implementation specific values for types that are part of the portable HAL SPI API.

Provides implementation specific values for types that are part of the portable HAL RTC API.

Provides implementation specific values for types that are part of the portable HAL PWM API.

Provides implementation specific values for types that are part of the portable HAL NVM API.

Provides implementation specific values for types that are part of the portable HAL LPTimer API.

Provides implementation specific values for types that are part of the portable HAL I2C API.

Provides implementation specific values for types that are part of the portable HAL GPIO API.

Provides implementation specific values for types that are part of the portable HAL DMA API.

Provides implementation specific values for types that are part of the portable HAL Comp API.

Provides implementation specific values for types that are part of the portable HAL Clock API.

Provides implementation specific values for types that are part of the portable HAL ADC API.

Collaboration diagram for Specific Hardware Types:

Macros

#define MTB_HAL_ADC_IMPL_HEADER   "mtb_hal_adc_impl.h"
 IP-specific implementation header for ADC.
 
#define MTB_HAL_CLOCK_IMPL_HEADER   "mtb_hal_clock_impl.h"
 Implementation specific header for Clock.
 
#define MTB_HAL_RSC_LPCOMP   (MTB_HAL_COMP_LP)
 For backwards compatiblity with old PDLs.
 
#define MTB_HAL_RSC_CSG   (MTB_HAL_COMP_CSG)
 For backwards compatiblity with old PDLs.
 
#define MTB_HAL_DMA_IMPL_HEADER   "mtb_hal_dma_impl.h"
 Implementation specific header for DMA.
 
#define _MTB_HAL_DMA_ALIGN
 Aligns a symbol as required by the DMA hardware. More...
 
#define MTB_HAL_GPIO_IMPL_HEADER   "mtb_hal_gpio_impl.h"
 Implementation specific header for GPIO.
 
#define MTB_HAL_I2C_IMPL_HEADER   "mtb_hal_i2c_impl.h"
 Implementation specific header for I2C.
 
#define MTB_HAL_LPTIMER_IMPL_HEADER   "mtb_hal_lptimer_impl.h"
 Implementation specific header for LPTimer.
 
#define MTB_HAL_NVM_IMPL_HEADER   "mtb_hal_nvm_impl.h"
 Implementation specific header for NVM.
 
#define MTB_HAL_PWM_IMPL_HEADER   "mtb_hal_pwm_impl.h"
 Implementation specific header for PWM.
 
#define MTB_HAL_RTC_IMPL_HEADER   "mtb_hal_rtc_impl.h"
 Implementation specific header for RTC.
 
#define MTB_HAL_SPI_IMPL_HEADER   "mtb_hal_spi_impl.h"
 Implementation specific header for SPI.
 
#define MTB_HAL_SYSPM_IMPL_HEADER   "mtb_hal_syspm_impl.h"
 Implementation specific header for SysPm.
 
#define MTB_HAL_SYSTEM_IMPL_HEADER   "mtb_hal_system_impl.h"
 Implementation specific header for System.
 
#define MTB_HAL_TIMER_IMPL_HEADER   "mtb_hal_timer_impl.h"
 Implementation specific header for Timer.
 
#define MTB_HAL_TRNG_IMPL_HEADER   "mtb_hal_trng_impl.h"
 Implementation specific header for TRNG.
 
#define MTB_HAL_UART_IMPL_HEADER   "mtb_hal_uart_impl.h"
 Implementation specific header for UART.
 

Typedefs

typedef void * mtb_hal_trng_configurator_t
 TRNG configurator struct. More...
 

Enumerations

enum  mtb_hal_comp_type_t {
  MTB_HAL_COMP_LP = 0 ,
  MTB_HAL_COMP_CSG = 1 ,
  MTB_HAL_COMP_DCSG = 2
}
 Comp type.
 
enum  mtb_hal_dma_type_t {
  MTB_HAL_DMA_DW = 0 ,
  MTB_HAL_DMA_DMAC = 1
}
 DMA type.
 

Macro Definition Documentation

◆ _MTB_HAL_DMA_ALIGN

#define _MTB_HAL_DMA_ALIGN

Aligns a symbol as required by the DMA hardware.

If DCACHE is present, it takes precedence. Otherwise, defer to the alignment defined by the DMAC hardware, if any

Typedef Documentation

◆ mtb_hal_trng_configurator_t

TRNG configurator struct.

This struct allows a configurator to provide block configuration information to the HAL. Because configurator-generated configurations are platform specific, the contents of this struct is subject to change between platforms and/or HAL releases.