Public Attributes | List of all members
twihs_options Struct Reference

Input parameters when initializing the TWIHS module mode. More...

#include <twihs.h>

Public Attributes

uint8_t chip
 The desired address. More...
 
uint32_t master_clk
 MCK for TWIHS. More...
 
uint8_t smbus
 SMBUS mode (set 1 to use SMBUS quick command, otherwise don't). More...
 
uint32_t speed
 The baud rate of the TWIHS bus. More...
 

Detailed Description

Input parameters when initializing the TWIHS module mode.

Definition at line 74 of file drivers/twihs/twihs.h.

Member Data Documentation

◆ chip

uint8_t twihs_options::chip

The desired address.

Definition at line 80 of file drivers/twihs/twihs.h.

◆ master_clk

uint32_t twihs_options::master_clk

MCK for TWIHS.

Definition at line 76 of file drivers/twihs/twihs.h.

◆ smbus

uint8_t twihs_options::smbus

SMBUS mode (set 1 to use SMBUS quick command, otherwise don't).

Definition at line 82 of file drivers/twihs/twihs.h.

◆ speed

uint32_t twihs_options::speed

The baud rate of the TWIHS bus.

Definition at line 78 of file drivers/twihs/twihs.h.


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


inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:18:03