Hardware Abstraction Layer (HAL)
mtb_hal_comp_t Struct Reference

Description

Comparator object.

Application code should not rely on the specific contents of this struct. They are considered an implementation detail which is subject to change between platforms and/or HAL releases.

Data Fields

mtb_hal_comp_type_t comp_type
 Type of comparator.
 
union {
   struct {
_mtb_hal_lpcomp_base_t * base_lpcomp
 LP comparator base address.
 
_mtb_hal_lpcomp_channel_t channel_lpcomp
 LP comparator channel.
 
   } 
 
}; 
 
_mtb_hal_event_callback_data_t callback_data
 Callback data.
 
uint32_t callback_event
 Callback event mask.
 

Field Documentation

◆ comp_type

mtb_hal_comp_type_t mtb_hal_comp_t::comp_type

Type of comparator.

◆ 

union { ... }

◆ callback_data

_mtb_hal_event_callback_data_t mtb_hal_comp_t::callback_data

Callback data.

◆ callback_event

uint32_t mtb_hal_comp_t::callback_event

Callback event mask.