Trident IoT SDK
Loading...
Searching...
No Matches
tr_hal_i2c_settings_t Struct Reference

#include <T32CM11_i2c.h>

Collaboration diagram for tr_hal_i2c_settings_t:

Data Fields

tr_hal_gpio_pin_t sda_pin
tr_hal_gpio_pin_t scl_pin
tr_hal_i2c_clock_rate_t clock_setting
tr_hal_i2c_receive_callback_t rx_handler_function
tr_hal_i2c_event_callback_t event_handler_fx
bool enable_chip_interrupts
tr_hal_int_pri_t interrupt_priority
bool wake_on_interrupt

Detailed Description


I2C Controller settings strut - this is passed to tr_hal_i2c_init_controller


Field Documentation

◆ clock_setting

tr_hal_i2c_clock_rate_t tr_hal_i2c_settings_t::clock_setting

◆ enable_chip_interrupts

bool tr_hal_i2c_settings_t::enable_chip_interrupts

◆ event_handler_fx

tr_hal_i2c_event_callback_t tr_hal_i2c_settings_t::event_handler_fx

◆ interrupt_priority

tr_hal_int_pri_t tr_hal_i2c_settings_t::interrupt_priority

◆ rx_handler_function

tr_hal_i2c_receive_callback_t tr_hal_i2c_settings_t::rx_handler_function

◆ scl_pin

tr_hal_gpio_pin_t tr_hal_i2c_settings_t::scl_pin

◆ sda_pin

tr_hal_gpio_pin_t tr_hal_i2c_settings_t::sda_pin

◆ wake_on_interrupt

bool tr_hal_i2c_settings_t::wake_on_interrupt

The documentation for this struct was generated from the following files: