Hardware Abstraction Layer (HAL)
mtb_hal_comp_configurator_t Struct Reference

Description

Comp 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.

Data Fields

mtb_hal_comp_type_t resource_type
 Comparator resource type.
 
uint8_t channel_num
 Channel number.
 
union {
const _mtb_hal_lpcomp_pdl_config_t * lpcomp
 LP comparator PDL configuration.
 
}; 
 
union {
_mtb_hal_lpcomp_base_t * lpcomp_base
 LP comparator base address.
 
}; 
 

Field Documentation

◆ resource_type

mtb_hal_comp_type_t mtb_hal_comp_configurator_t::resource_type

Comparator resource type.

◆ channel_num

uint8_t mtb_hal_comp_configurator_t::channel_num

Channel number.

◆ 

union { ... }

◆ 

union { ... }