Hardware Abstraction Layer (HAL)
All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
mtb_hal_gpio_t Struct Reference

Description

Connection type definition.

Represents an association between gpio and pin port numbers

Data Fields

uint8_t pin_num
 The associated gpio pin number.
 
uint8_t port_num
 The associated gpio port number.
 
GPIO_PRT_Type * port_addr
 The associated gpio port address.
 
_mtb_hal_event_callback_data_t callback_data
 The callback data associated with the pin.
 

Field Documentation

◆ pin_num

uint8_t mtb_hal_gpio_t::pin_num

The associated gpio pin number.

◆ port_num

uint8_t mtb_hal_gpio_t::port_num

The associated gpio port number.

◆ port_addr

GPIO_PRT_Type* mtb_hal_gpio_t::port_addr

The associated gpio port address.

◆ callback_data

_mtb_hal_event_callback_data_t mtb_hal_gpio_t::callback_data

The callback data associated with the pin.