Interface: tos.chips.msp430.usart.HplMsp430I2C

interface HplMsp430I2C

Author:
Vlado Handziski <handzisk@tkn.tu-berlin.de>
Philipp Huppertz <huppertz@tkn.tu-berlin.de>

Commands
command void clearModeI2C()
command void disableAccessReady()
command void disableArbitrationLost()
command void disableGeneralCall()
command void disableI2C()
command void disableNoAck()
command void disableOwnAddress()
command void disableReceiveReady()
command void disableStartDetect()
command void disableTransmitReady()
command void enableAccessReady()
command void enableArbitrationLost()
command void enableGeneralCall()
command void enableI2C()
command void enableNoAck()
command void enableOwnAddress()
command void enableReceiveReady()
command void enableStartDetect()
command void enableTransmitReady()
command uint8_t getClockPrescaler()
command uint8_t getClockSource()
command uint8_t getData()
command uint8_t getIV()
command uint16_t getOwnAddress()
command bool getRepeatMode()
command uint16_t getShiftClock()
command uint16_t getSlaveAddress()
command bool getStartBit()
command bool getStartByte()
command bool getStopBit()
command uint8_t getTransferByteCount()
command bool getTransmitReceiveMode()
command bool getWordMode()
command bool isAccessReadyPending()
command bool isArbitrationLostPending()
command bool isGeneralCallPending()
command bool isI2C()
command bool isNoAckPending()
command bool isOwnAddressPending()
command bool isReceiveReadyPending()
command bool isStartDetectPending()
command bool isTransmitReadyPending()
command void setClockPrescaler(uint8_t scaler)
command void setClockSource(uint8_t src)
command void setData(uint8_t data)
command void setMasterMode()
command void setModeI2C(msp430_i2c_union_config_t *config)
command void setOwnAddress(uint16_t addr)
command void setReceiveMode()
command void setRepeatMode(bool mode)
command void setShiftClock(uint16_t shift)
command void setSlaveAddress(uint16_t addr)
command void setSlaveMode()
command void setStartBit()
command void setStartByte()
command void setStopBit()
command void setTransferByteCount(uint8_t count)
command void setTransmitMode()
command void setWordMode(bool mode)

Commands - Details

clearModeI2C

command void clearModeI2C()

disableAccessReady

command void disableAccessReady()

disableArbitrationLost

command void disableArbitrationLost()

disableGeneralCall

command void disableGeneralCall()

disableI2C

command void disableI2C()

disableNoAck

command void disableNoAck()

disableOwnAddress

command void disableOwnAddress()

disableReceiveReady

command void disableReceiveReady()

disableStartDetect

command void disableStartDetect()

disableTransmitReady

command void disableTransmitReady()

enableAccessReady

command void enableAccessReady()

enableArbitrationLost

command void enableArbitrationLost()

enableGeneralCall

command void enableGeneralCall()

enableI2C

command void enableI2C()

enableNoAck

command void enableNoAck()

enableOwnAddress

command void enableOwnAddress()

enableReceiveReady

command void enableReceiveReady()

enableStartDetect

command void enableStartDetect()

enableTransmitReady

command void enableTransmitReady()

getClockPrescaler

command uint8_t getClockPrescaler()

getClockSource

command uint8_t getClockSource()

getData

command uint8_t getData()

getIV

command uint8_t getIV()

getOwnAddress

command uint16_t getOwnAddress()

getRepeatMode

command bool getRepeatMode()

getShiftClock

command uint16_t getShiftClock()

getSlaveAddress

command uint16_t getSlaveAddress()

getStartBit

command bool getStartBit()

getStartByte

command bool getStartByte()

getStopBit

command bool getStopBit()

getTransferByteCount

command uint8_t getTransferByteCount()

getTransmitReceiveMode

command bool getTransmitReceiveMode()

getWordMode

command bool getWordMode()

isAccessReadyPending

command bool isAccessReadyPending()

isArbitrationLostPending

command bool isArbitrationLostPending()

isGeneralCallPending

command bool isGeneralCallPending()

isI2C

command bool isI2C()

isNoAckPending

command bool isNoAckPending()

isOwnAddressPending

command bool isOwnAddressPending()

isReceiveReadyPending

command bool isReceiveReadyPending()

isStartDetectPending

command bool isStartDetectPending()

isTransmitReadyPending

command bool isTransmitReadyPending()

setClockPrescaler

command void setClockPrescaler(uint8_t scaler)

setClockSource

command void setClockSource(uint8_t src)

setData

command void setData(uint8_t data)

setMasterMode

command void setMasterMode()

setModeI2C

command void setModeI2C(msp430_i2c_union_config_t *config)

setOwnAddress

command void setOwnAddress(uint16_t addr)

setReceiveMode

command void setReceiveMode()

setRepeatMode

command void setRepeatMode(bool mode)

setShiftClock

command void setShiftClock(uint16_t shift)

setSlaveAddress

command void setSlaveAddress(uint16_t addr)

setSlaveMode

command void setSlaveMode()

setStartBit

command void setStartBit()

setStartByte

command void setStartByte()

setStopBit

command void setStopBit()

setTransferByteCount

command void setTransferByteCount(uint8_t count)

setTransmitMode

command void setTransmitMode()

setWordMode

command void setWordMode(bool mode)