caffeine-hal 0.6.6
A Header-Defined Interface c library, it provides the hal layer for the Caffeine framework
Loading...
Searching...
No Matches
Data Fields
cfn_hal_i2c_phy_t Struct Reference

I2C hardware physical mapping. More...

#include <cfn_hal_i2c.h>

Data Fields

void * instance
 
cfn_hal_gpio_pin_handle_tsda
 
cfn_hal_gpio_pin_handle_tscl
 
cfn_hal_gpio_pin_handle_tirq
 
void * user_arg
 

Detailed Description

I2C hardware physical mapping.

Field Documentation

◆ instance

void* cfn_hal_i2c_phy_t::instance

Peripheral base instance

◆ irq

cfn_hal_gpio_pin_handle_t* cfn_hal_i2c_phy_t::irq

Optional external IRQ pin

◆ scl

cfn_hal_gpio_pin_handle_t* cfn_hal_i2c_phy_t::scl

Serial Clock pin mapping

◆ sda

cfn_hal_gpio_pin_handle_t* cfn_hal_i2c_phy_t::sda

Serial Data pin mapping

◆ user_arg

void* cfn_hal_i2c_phy_t::user_arg

Peripheral instance user argument


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