# twi_options_t Struct Reference

`#include <twi.h>`

## Detailed Description

Input parameters when initializing the twi module mode.

Definition at line 69 of file twi.h.

## Data Fields
char | chip
| The desired address.
unsigned long | pba_hz
| The PBA clock frequency.
unsigned long | speed
| The baudrate of the TWI bus.

## Field Documentation

char twi_options_t::chip

The desired address.

Definition at line 76 of file twi.h.

Referenced by main(), twi_master_init(), and twi_slave_init().

unsigned long twi_options_t::pba_hz

The PBA clock frequency.

Definition at line 72 of file twi.h.

Referenced by main(), twi_master_init(), and twi_slave_init().

unsigned long twi_options_t::speed

The baudrate of the TWI bus.

Definition at line 74 of file twi.h.

Referenced by main(), twi_master_init(), and twi_slave_init().