MSP430 DriverLib for MSP430FR2xx_4xx Devices  2.10.00.09
 All Data Structures Functions Variables Modules Pages
EUSCI_B_I2C_initMasterParam Struct Reference

Used in the EUSCI_B_I2C_initMaster() function as the param parameter. More...

#include <eusci_b_i2c.h>

Data Fields

uint8_t selectClockSource
 
uint32_t i2cClk
 
uint32_t dataRate
 
uint8_t byteCounterThreshold
 Sets threshold for automatic STOP or UCSTPIFG.
 
uint8_t autoSTOPGeneration
 

Detailed Description

Used in the EUSCI_B_I2C_initMaster() function as the param parameter.

Field Documentation

uint8_t EUSCI_B_I2C_initMasterParam::autoSTOPGeneration

Sets up the STOP condition generation.
Valid values are:

  • EUSCI_B_I2C_NO_AUTO_STOP
  • EUSCI_B_I2C_SET_BYTECOUNT_THRESHOLD_FLAG
  • EUSCI_B_I2C_SEND_STOP_AUTOMATICALLY_ON_BYTECOUNT_THRESHOLD

Referenced by EUSCI_B_I2C_initMaster().

uint32_t EUSCI_B_I2C_initMasterParam::dataRate

Setup for selecting data transfer rate.
Valid values are:

  • EUSCI_B_I2C_SET_DATA_RATE_400KBPS
  • EUSCI_B_I2C_SET_DATA_RATE_100KBPS

Referenced by EUSCI_B_I2C_initMaster().

uint32_t EUSCI_B_I2C_initMasterParam::i2cClk

Is the rate of the clock supplied to the I2C module (the frequency in Hz of the clock source specified in selectClockSource).

Referenced by EUSCI_B_I2C_initMaster().

uint8_t EUSCI_B_I2C_initMasterParam::selectClockSource

Is the clocksource.
Valid values are:

  • EUSCI_B_I2C_CLOCKSOURCE_MODCLK
  • EUSCI_B_I2C_CLOCKSOURCE_SMCLK

Referenced by EUSCI_B_I2C_initMaster().


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

Copyright 2015, Texas Instruments Incorporated