magneto6 2.1.0.0
magneto6_t Struct Reference

Magneto 6 Click context object. More...

#include <magneto6.h>

Data Fields

digital_out_t ien
 
digital_in_t int_pin
 
pin_name_t scl
 
pin_name_t sda
 
uint8_t i2c_started
 
uint8_t slave_address
 

Detailed Description

Magneto 6 Click context object.

Context object definition of Magneto 6 Click driver.

Field Documentation

◆ i2c_started

uint8_t i2c_started

I2C started flag.

◆ ien

digital_out_t ien

Interrupt enable pin (Active high).

◆ int_pin

digital_in_t int_pin

Interrupt pin.

◆ scl

pin_name_t scl

Clock pin descriptor for I2C driver.

◆ sda

pin_name_t sda

Bidirectional data pin descriptor for I2C driver.

◆ slave_address

uint8_t slave_address

Device slave address (used for I2C driver).


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