Driverlib I2CT API

Module: Driverlib (AM13E232X) APIs

Structures

Name

struct

DL_I2CT_ClockConfig
Configuration struct for DL_I2CT_setClockConfig.

Types

Name

enum

DL_I2CT_EVENT_ROUTE { DL_I2CT_EVENT_ROUTE_1 = 0, DL_I2CT_EVENT_ROUTE_2 = 12}
DL_I2CT_EVENT_ROUTE.

enum

DL_I2CT_CLOCK { DL_I2CT_CLOCK_BUSCLK = UNICOMMI2CT_CLKSEL_BUSCLK_SEL_ENABLE}
DL_I2CT_CLOCK.

enum

DL_I2CT_CLOCK_DIVIDE { DL_I2CT_CLOCK_DIVIDE_1 = UNICOMMI2CT_CLKDIV_RATIO_DIV_BY_1, DL_I2CT_CLOCK_DIVIDE_2 = UNICOMMI2CT_CLKDIV_RATIO_DIV_BY_2, DL_I2CT_CLOCK_DIVIDE_3 = UNICOMMI2CT_CLKDIV_RATIO_DIV_BY_3, DL_I2CT_CLOCK_DIVIDE_4 = UNICOMMI2CT_CLKDIV_RATIO_DIV_BY_4, DL_I2CT_CLOCK_DIVIDE_5 = UNICOMMI2CT_CLKDIV_RATIO_DIV_BY_5, DL_I2CT_CLOCK_DIVIDE_6 = UNICOMMI2CT_CLKDIV_RATIO_DIV_BY_6, DL_I2CT_CLOCK_DIVIDE_7 = UNICOMMI2CT_CLKDIV_RATIO_DIV_BY_7, DL_I2CT_CLOCK_DIVIDE_8 = UNICOMMI2CT_CLKDIV_RATIO_DIV_BY_8}
DL_I2CT_CLOCK_DIVIDE.

enum

DL_I2CT_ADDRESSING_MODE { DL_I2CT_ADDRESSING_MODE_7_BIT = UNICOMMI2CT_OAR_MODE_MODE7, DL_I2CT_ADDRESSING_MODE_10_BIT = UNICOMMI2CT_OAR_MODE_MODE10}
DL_I2CT_ADDRESSING_MODE.

enum

DL_I2CT_PEC_STATUS { DL_I2CT_PEC_STATUS_CHECKED = UNICOMMI2CT_PECSR_PECSTS_CHECK_SET, DL_I2CT_PEC_STATUS_NOT_CHECKED = UNICOMMI2CT_PECSR_PECSTS_CHECK_CLEARED}
DL_I2CT_PEC_STATUS.

enum

DL_I2CT_PEC_CHECK_ERROR { DL_I2CT_PEC_CHECK_ERROR_CLEARED = UNICOMMI2CT_PECSR_PECSTS_ERROR_CLEARED, DL_I2CT_PEC_CHECK_ERROR_SET = UNICOMMI2CT_PECSR_PECSTS_ERROR_SET}
DL_I2CT_PEC_CHECK_ERROR.

enum

DL_I2CT_DIGITAL_GLITCH_FILTER_WIDTH { DL_I2CT_DIGITAL_GLITCH_FILTER_WIDTH_DISABLED = UNICOMMI2CT_GFCTL_DGFSEL_DISABLED, DL_I2CT_DIGITAL_GLITCH_FILTER_WIDTH_CLOCKS_1 = UNICOMMI2CT_GFCTL_DGFSEL_CLK_1, DL_I2CT_DIGITAL_GLITCH_FILTER_WIDTH_CLOCKS_2 = UNICOMMI2CT_GFCTL_DGFSEL_CLK_2, DL_I2CT_DIGITAL_GLITCH_FILTER_WIDTH_CLOCKS_3 = UNICOMMI2CT_GFCTL_DGFSEL_CLK_3, DL_I2CT_DIGITAL_GLITCH_FILTER_WIDTH_CLOCKS_4 = UNICOMMI2CT_GFCTL_DGFSEL_CLK_4, DL_I2CT_DIGITAL_GLITCH_FILTER_WIDTH_CLOCKS_8 = UNICOMMI2CT_GFCTL_DGFSEL_CLK_8, DL_I2CT_DIGITAL_GLITCH_FILTER_WIDTH_CLOCKS_16 = UNICOMMI2CT_GFCTL_DGFSEL_CLK_16, DL_I2CT_DIGITAL_GLITCH_FILTER_WIDTH_CLOCKS_31 = UNICOMMI2CT_GFCTL_DGFSEL_CLK_31}
DL_I2CT_DIGITAL_GLITCH_FILTER_WIDTH.

enum

DL_I2CT_TX_FIFO_LEVEL { DL_I2CT_TX_FIFO_LEVEL_3_4_EMPTY = UNICOMMI2CT_IFLS_TXIFLSEL_LVL_3_4, DL_I2CT_TX_FIFO_LEVEL_1_2_EMPTY = UNICOMMI2CT_IFLS_TXIFLSEL_LVL_1_2, DL_I2CT_TX_FIFO_LEVEL_1_4_EMPTY = UNICOMMI2CT_IFLS_TXIFLSEL_LVL_1_4, DL_I2CT_TX_FIFO_LEVEL_NOT_FULL = UNICOMMI2CT_IFLS_TXIFLSEL_LVL_NOT_FULL, DL_I2CT_TX_FIFO_LEVEL_EMPTY = UNICOMMI2CT_IFLS_TXIFLSEL_LVL_EMPTY, DL_I2CT_TX_FIFO_LEVEL_ALMOST_EMPTY = UNICOMMI2CT_IFLS_TXIFLSEL_LVL_ALMOST_EMPTY, DL_I2CT_TX_FIFO_LEVEL_ALMOST_FULL = UNICOMMI2CT_IFLS_TXIFLSEL_LVL_ALMOST_FULL}
DL_I2CT_TX_FIFO_LEVEL.

enum

DL_I2CT_RX_FIFO_LEVEL { DL_I2CT_RX_FIFO_LEVEL_3_4_FULL = UNICOMMI2CT_IFLS_RXIFLSEL_LVL_3_4, DL_I2CT_RX_FIFO_LEVEL_1_2_FULL = UNICOMMI2CT_IFLS_RXIFLSEL_LVL_1_2, DL_I2CT_RX_FIFO_LEVEL_1_4_FULL = UNICOMMI2CT_IFLS_RXIFLSEL_LVL_1_4, DL_I2CT_RX_FIFO_LEVEL_NOT_EMPTY = UNICOMMI2CT_IFLS_RXIFLSEL_LVL_NOT_EMPTY, DL_I2CT_RX_FIFO_LEVEL_FULL = UNICOMMI2CT_IFLS_RXIFLSEL_LVL_FULL, DL_I2CT_RX_FIFO_LEVEL_ALMOST_EMPTY = UNICOMMI2CT_IFLS_RXIFLSEL_LVL_ALMOST_EMPTY, DL_I2CT_RX_FIFO_LEVEL_ALMOST_FULL = UNICOMMI2CT_IFLS_RXIFLSEL_LVL_ALMOST_FULL}
DL_I2CT_RX_FIFO_LEVEL.

enum

DL_I2CT_RESPONSE_OVERRIDE_VALUE { DL_I2CT_RESPONSE_OVERRIDE_VALUE_ACK = UNICOMMI2CT_ACKCTL_ACKOVAL_DISABLE, DL_I2CT_RESPONSE_OVERRIDE_VALUE_NACK = UNICOMMI2CT_ACKCTL_ACKOVAL_ENABLE}
DL_I2CT_RESPONSE_OVERRIDE_VALUE.

enum

DL_I2CT_IIDX { DL_I2CT_IIDX_NO_INT = UNICOMMI2CT_IIDX_STAT_NO_INTR, DL_I2CT_IIDX_TIMEOUT_A = UNICOMMI2CT_IIDX_STAT_TIMEOUTA, DL_I2CT_IIDX_TIMEOUT_B = UNICOMMI2CT_IIDX_STAT_TIMEOUTB, DL_I2CT_IIDX_RX_DONE = UNICOMMI2CT_IIDX_STAT_RXDONEFG, DL_I2CT_IIDX_TX_DONE = UNICOMMI2CT_IIDX_STAT_TXDONEFG, DL_I2CT_IIDX_RXFIFO_TRIGGER = UNICOMMI2CT_IIDX_STAT_RXTRG, DL_I2CT_IIDX_TXFIFO_TRIGGER = UNICOMMI2CT_IIDX_STAT_TXTRG, DL_I2CT_IIDX_RXFIFO_FULL = UNICOMMI2CT_IIDX_STAT_RXFULL, DL_I2CT_IIDX_TXFIFO_EMPTY = UNICOMMI2CT_IIDX_STAT_TXEMPTY, DL_I2CT_IIDX_START = UNICOMMI2CT_IIDX_STAT_STARTFG, DL_I2CT_IIDX_STOP = UNICOMMI2CT_IIDX_STAT_STOPFG, DL_I2CT_IIDX_GENERAL_CALL = UNICOMMI2CT_IIDX_STAT_GENCALL, DL_I2CT_IIDX_EVENT1_DMA_DONE = UNICOMMI2CT_IIDX_STAT_DMA_DONE_TX, DL_I2CT_IIDX_EVENT2_DMA_DONE = UNICOMMI2CT_IIDX_STAT_DMA_DONE_RX, DL_I2CT_IIDX_PREEMPT_INT_TX = UNICOMMI2CT_IIDX_STAT_DMA_PREIRQ_TX, DL_I2CT_IIDX_PREEMPT_INT_RX = UNICOMMI2CT_IIDX_STAT_DMA_PREIRQ_RX, DL_I2CT_IIDX_PEC_RX_ERROR = UNICOMMI2CT_IIDX_STAT_PEC_RX_ERR, DL_I2CT_IIDX_TXFIFO_UNDERFLOW = UNICOMMI2CT_IIDX_STAT_TX_UNFL, DL_I2CT_IIDX_RXFIFO_OVERFLOW = UNICOMMI2CT_IIDX_STAT_RX_OVFL, DL_I2CT_IIDX_ARBITRATION_LOST = UNICOMMI2CT_IIDX_STAT_ARBLOSTFG}
DL_I2CT_IIDX.

Functions

Name

void

DL_I2CT_setClockConfig(DL_UNICOMM_Inst_Regs * unicomm, DL_I2CT_ClockConfig * config)
Configure I2CT source clock.

void

DL_I2CT_getClockConfig(DL_UNICOMM_Inst_Regs * unicomm, DL_I2CT_ClockConfig * config)
Get I2CT source clock configuration.

__STATIC_INLINE bool

DL_I2CT_isTXFIFOFull(DL_UNICOMM_Inst_Regs * unicomm)
Checks if TX FIFO is full.

__STATIC_INLINE bool

DL_I2CT_isTXFIFOEmpty(DL_UNICOMM_Inst_Regs * unicomm)
Checks if TX FIFO is empty.

__STATIC_INLINE bool

DL_I2CT_isRXFIFOFull(DL_UNICOMM_Inst_Regs * unicomm)
Checks if RX FIFO is full.

__STATIC_INLINE bool

DL_I2CT_isRXFIFOEmpty(DL_UNICOMM_Inst_Regs * unicomm)
Checks if RX FIFO is empty.

uint8_t

DL_I2CT_fillTXFIFO(DL_UNICOMM_Inst_Regs * unicomm, uint8_t * buffer, uint8_t count)
Fills the TX FIFO with data.

void

DL_I2CT_flushTXFIFO(DL_UNICOMM_Inst_Regs * unicomm)
Flushes/removes all elements in the target TX FIFO.

void

DL_I2CT_flushRXFIFO(DL_UNICOMM_Inst_Regs * unicomm)
Flushes/removes all elements in the target RX FIFO.

void

DL_I2CT_transmitDataBlocking(DL_UNICOMM_Inst_Regs * unicomm, uint8_t data)
Transmit data, waiting until transmit request.

bool

DL_I2CT_transmitDataCheck(DL_UNICOMM_Inst_Regs * unicomm, uint8_t data)
Transmit data.

uint8_t

DL_I2CT_receiveDataBlocking(DL_UNICOMM_Inst_Regs * unicomm)
Receive data, waiting until receive request.

bool

DL_I2CT_receiveDataCheck(DL_UNICOMM_Inst_Regs * unicomm, uint8_t * buffer)
Receive data.

__STATIC_INLINE void

DL_I2CT_enablePower(DL_UNICOMM_Inst_Regs * unicomm)
Enables power on UNICOMM I2C module.

__STATIC_INLINE void

DL_I2CT_disablePower(DL_UNICOMM_Inst_Regs * unicomm)
Disables power on UNICOMM I2C module.

__STATIC_INLINE bool

DL_I2CT_isPowerEnabled(DL_UNICOMM_Inst_Regs * unicomm)
Returns if power on UNICOMM I2C module.

__STATIC_INLINE void

DL_I2CT_reset(DL_UNICOMM_Inst_Regs * unicomm)
Resets UNICOMM I2C peripheral.

__STATIC_INLINE bool

DL_I2CT_isReset(DL_UNICOMM_Inst_Regs * unicomm)
Returns if UNICOMM I2C peripheral was reset.

__STATIC_INLINE void

DL_I2CT_selectClockSource(DL_UNICOMM_Inst_Regs * unicomm, DL_I2CT_CLOCK clockSource)
Set Clock Source.

__STATIC_INLINE void

DL_I2CT_selectClockDivider(DL_UNICOMM_Inst_Regs * unicomm, DL_I2CT_CLOCK_DIVIDE clockDivider)
Set Clock Divider.

__STATIC_INLINE DL_I2CT_DIGITAL_GLITCH_FILTER_WIDTH

DL_I2CT_getDigitalGlitchFilterPulseWidth(DL_UNICOMM_Inst_Regs * unicomm)
Get Digital Glitch Suppression Pulse Width.

__STATIC_INLINE void

DL_I2CT_setDigitalGlitchFilterPulseWidth(DL_UNICOMM_Inst_Regs * unicomm, DL_I2CT_DIGITAL_GLITCH_FILTER_WIDTH filterWidth)
Set Digital Glitch Suppression Pulse Width.

__STATIC_INLINE void

DL_I2CT_disableAnalogGlitchFilter(DL_UNICOMM_Inst_Regs * unicomm)
Disable Analog Glitch Suppression.

__STATIC_INLINE bool

DL_I2CT_isAnalogGlitchFilterEnabled(DL_UNICOMM_Inst_Regs * unicomm)
Checks if analog glitch suppression is enabled.

__STATIC_INLINE void

DL_I2CT_enableAnalogGlitchFilter(DL_UNICOMM_Inst_Regs * unicomm)
Enable Analog Glitch Suppression.

__STATIC_INLINE void

DL_I2CT_setOwnAddress(DL_UNICOMM_Inst_Regs * unicomm, uint32_t addr)
Set own address.

__STATIC_INLINE uint32_t

DL_I2CT_getOwnAddress(DL_UNICOMM_Inst_Regs * unicomm)
Get own address.

__STATIC_INLINE void

DL_I2CT_enableOwnAddress(DL_UNICOMM_Inst_Regs * unicomm)
Enable own address.

__STATIC_INLINE void

DL_I2CT_disableOwnAddress(DL_UNICOMM_Inst_Regs * unicomm)
Disable own address.

__STATIC_INLINE bool

DL_I2CT_isOwnAddressEnabled(DL_UNICOMM_Inst_Regs * unicomm)
Checks if own address is enabled.

__STATIC_INLINE void

DL_I2CT_setAddressingMode(DL_UNICOMM_Inst_Regs * unicomm, DL_I2CT_ADDRESSING_MODE mode)
Set addressing mode.

__STATIC_INLINE DL_I2CT_ADDRESSING_MODE

DL_I2CT_getAddressingMode(DL_UNICOMM_Inst_Regs * unicomm)
Get addressing mode.

__STATIC_INLINE uint32_t

DL_I2CT_getOwnAddressAlternate(DL_UNICOMM_Inst_Regs * unicomm)
Get own address alternate.

__STATIC_INLINE void

DL_I2CT_setOwnAddressAlternate(DL_UNICOMM_Inst_Regs * unicomm, uint32_t addr)
Set own address alternate.

__STATIC_INLINE uint32_t

DL_I2CT_getOwnAddressAlternateMask(DL_UNICOMM_Inst_Regs * unicomm)
Get own address alternate mask.

__STATIC_INLINE void

DL_I2CT_setOwnAddressAlternateMask(DL_UNICOMM_Inst_Regs * unicomm, uint32_t addressMask)
Set own address alternate mask.

__STATIC_INLINE void

DL_I2CT_disableOwnAddressAlternate(DL_UNICOMM_Inst_Regs * unicomm)
Disable usage of own address alternate.

__STATIC_INLINE bool

DL_I2CT_isOwnAddressAlternateEnabled(DL_UNICOMM_Inst_Regs * unicomm)
Checks if own address alternate is enabled.

__STATIC_INLINE void

DL_I2CT_enableOwnAddressAlternate(DL_UNICOMM_Inst_Regs * unicomm)
Enable usage of own address alternate.

__STATIC_INLINE uint32_t

DL_I2CT_getAddressMatch(DL_UNICOMM_Inst_Regs * unicomm)
Get the address for which address match happened.

__STATIC_INLINE void

DL_I2CT_disableClockStretching(DL_UNICOMM_Inst_Regs * unicomm)
Disable clock stretching.

__STATIC_INLINE bool

DL_I2CT_isClockStretchingEnabled(DL_UNICOMM_Inst_Regs * unicomm)
Checks if clock stretching is enabled.

__STATIC_INLINE void

DL_I2CT_enableClockStretching(DL_UNICOMM_Inst_Regs * unicomm)
Enable clock stretching.

__STATIC_INLINE void

DL_I2CT_disableTXEmptyOnTXRequest(DL_UNICOMM_Inst_Regs * unicomm)
Disable TX empty interrupt on transmit request.

__STATIC_INLINE bool

DL_I2CT_isTXEmptyOnTXRequestEnabled(DL_UNICOMM_Inst_Regs * unicomm)
Checks if TX empty interrupt on transmit request is enabled.

__STATIC_INLINE void

DL_I2CT_enableTXEmptyOnTXRequest(DL_UNICOMM_Inst_Regs * unicomm)
Enable TX empty interrupt on transmit request.

__STATIC_INLINE void

DL_I2CT_disableTXTriggerInTXMode(DL_UNICOMM_Inst_Regs * unicomm)
Disable TX trigger in TX mode.

__STATIC_INLINE bool

DL_I2CT_isTXTriggerInTXModeEnabled(DL_UNICOMM_Inst_Regs * unicomm)
Checks if TX trigger in TX mode is enabled.

__STATIC_INLINE void

DL_I2CT_enableTXTriggerInTXMode(DL_UNICOMM_Inst_Regs * unicomm)
Enable TX trigger when is in TX mode.

__STATIC_INLINE void

DL_I2CT_disableTXWaitWhenTXFIFOStale(DL_UNICOMM_Inst_Regs * unicomm)
Disable TX transfer waits when stale data in TX FIFO.

__STATIC_INLINE bool

DL_I2CT_isTXWaitWhenTXFIFOStaleEnabled(DL_UNICOMM_Inst_Regs * unicomm)
Checks if TX transfer waits when stale data in TX FIFO is enabled.

__STATIC_INLINE void

DL_I2CT_enableTXWaitWhenTXFIFOStale(DL_UNICOMM_Inst_Regs * unicomm)
Enable TX transfer waits when stale data in TX FIFO.

__STATIC_INLINE void

DL_I2CT_disableRXFullOnRXRequest(DL_UNICOMM_Inst_Regs * unicomm)
Disable RX full interrupt on receive request.

__STATIC_INLINE bool

DL_I2CT_isRXFullOnRXRequestEnabled(DL_UNICOMM_Inst_Regs * unicomm)
Checks if RX full interrupt on receive request is enabled.

__STATIC_INLINE void

DL_I2CT_enableRXFullOnRXRequest(DL_UNICOMM_Inst_Regs * unicomm)
Enable RX full interrupt on receive request.

__STATIC_INLINE void

DL_I2CT_disableDefaultHostAddress(DL_UNICOMM_Inst_Regs * unicomm)
Disable SMBus/PMBus default host address of 000 1000b.

__STATIC_INLINE bool

DL_I2CT_isDefaultHostAddressEnabled(DL_UNICOMM_Inst_Regs * unicomm)
Checks if SMBus/PMBus default host address of 000 1000b is enabled.

__STATIC_INLINE void

DL_I2CT_enableDefaultHostAddress(DL_UNICOMM_Inst_Regs * unicomm)
Enable SMBus/PMBus default host address of 000 1000b.

__STATIC_INLINE void

DL_I2CT_disableAlertResponseAddress(DL_UNICOMM_Inst_Regs * unicomm)
Disable SMBus/PMBus Alert response address (ARA) of 000 1100b.

__STATIC_INLINE bool

DL_I2CT_isAlertResponseAddressEnabled(DL_UNICOMM_Inst_Regs * unicomm)
Checks if SMBus/PMBus Alert response address (ARA) of 000 1100b is enabled.

__STATIC_INLINE void

DL_I2CT_enableAlertResponseAddress(DL_UNICOMM_Inst_Regs * unicomm)
Enable SMBus/PMBus Alert response address (ARA) of 000 1100b.

__STATIC_INLINE void

DL_I2CT_disableDefaultDeviceAddress(DL_UNICOMM_Inst_Regs * unicomm)
Disable SMBus/PMBus default device address of 110 0001b.

__STATIC_INLINE bool

DL_I2CT_isDefaultDeviceAddressEnabled(DL_UNICOMM_Inst_Regs * unicomm)
Checks SMBus/PMBus default device address of 110 0001b is enabled.

__STATIC_INLINE void

DL_I2CT_enableDefaultDeviceAddress(DL_UNICOMM_Inst_Regs * unicomm)
Enable SMBus/PMBus default device address of 110 0001b.

__STATIC_INLINE void

DL_I2CT_disableWakeup(DL_UNICOMM_Inst_Regs * unicomm)
Disable wakeup.

__STATIC_INLINE bool

DL_I2CT_isWakeupEnabled(DL_UNICOMM_Inst_Regs * unicomm)
Checks if wakeup is enabled.

__STATIC_INLINE void

DL_I2CT_enableWakeup(DL_UNICOMM_Inst_Regs * unicomm)
Enable wakeup.

__STATIC_INLINE void

DL_I2CT_disable(DL_UNICOMM_Inst_Regs * unicomm)
Disable target.

__STATIC_INLINE bool

DL_I2CT_isEnabled(DL_UNICOMM_Inst_Regs * unicomm)
Checks if target is enabled.

__STATIC_INLINE void

DL_I2CT_enable(DL_UNICOMM_Inst_Regs * unicomm)
Enable target.

__STATIC_INLINE void

DL_I2CT_disableGeneralCall(DL_UNICOMM_Inst_Regs * unicomm)
Disable general call address of 000 0000b.

__STATIC_INLINE bool

DL_I2CT_isGeneralCallEnabled(DL_UNICOMM_Inst_Regs * unicomm)
Checks if general call address of 000 0000b is enabled.

__STATIC_INLINE void

DL_I2CT_enableGeneralCall(DL_UNICOMM_Inst_Regs * unicomm)
Enable usage of general call address of 000 0000b.

__STATIC_INLINE uint32_t

DL_I2CT_getStatus(DL_UNICOMM_Inst_Regs * unicomm)
Get status of I2CT bus controller for.

__STATIC_INLINE uint8_t

DL_I2CT_receiveData(DL_UNICOMM_Inst_Regs * unicomm)
Get byte of data from UNICOMMI2CT.

__STATIC_INLINE void

DL_I2CT_transmitData(DL_UNICOMM_Inst_Regs * unicomm, uint8_t data)
Set next byte to be transferred during the next transaction.

__STATIC_INLINE void

DL_I2CT_disableACKOverride(DL_UNICOMM_Inst_Regs * unicomm)
Disable ACK override.

__STATIC_INLINE bool

DL_I2CT_isACKOverrideEnabled(DL_UNICOMM_Inst_Regs * unicomm)
Checks if ACK override is enabled.

__STATIC_INLINE void

DL_I2CT_enableACKOverride(DL_UNICOMM_Inst_Regs * unicomm)
Enable ACK override.

__STATIC_INLINE DL_I2CT_RESPONSE_OVERRIDE_VALUE

DL_I2CT_getACKOverrideValue(DL_UNICOMM_Inst_Regs * unicomm)
Get acknowledge override value.

__STATIC_INLINE void

DL_I2CT_setACKOverrideValue(DL_UNICOMM_Inst_Regs * unicomm, DL_I2CT_RESPONSE_OVERRIDE_VALUE value)
Set acknowledge override value.

__STATIC_INLINE void

DL_I2CT_disableACKOverrideOnStart(DL_UNICOMM_Inst_Regs * unicomm)
Disable ACK override on Start Condition.

__STATIC_INLINE bool

DL_I2CT_isACKOverrideOnStartEnabled(DL_UNICOMM_Inst_Regs * unicomm)
Checks if ACK override on Start condition is enabled.

__STATIC_INLINE void

DL_I2CT_enableACKOverrideOnStart(DL_UNICOMM_Inst_Regs * unicomm)
Enable ACK override on Start condition.

__STATIC_INLINE void

DL_I2CT_disableACKOverrideOnPECNext(DL_UNICOMM_Inst_Regs * unicomm)
Disable ACK override when SMBus/PMBus PEC is next byte.

__STATIC_INLINE bool

DL_I2CT_isACKOverrideOnPECNextEnabled(DL_UNICOMM_Inst_Regs * unicomm)
Checks if ACK override when SMBus/PMBus PEC is next byte is enabled.

__STATIC_INLINE void

DL_I2CT_enableACKOverrideOnPECNext(DL_UNICOMM_Inst_Regs * unicomm)
Enable ACK override when SMBus/PMBus PEC is next byte.

__STATIC_INLINE void

DL_I2CT_disableACKOverrideOnPECDone(DL_UNICOMM_Inst_Regs * unicomm)
Disable ACK override when SMBus/PMBus PEC is next byte.

__STATIC_INLINE bool

DL_I2CT_isACKOverrideOnPECDoneEnabled(DL_UNICOMM_Inst_Regs * unicomm)
Checks if ACK override when SMBus/PMBus PEC is next byte is enabled.

__STATIC_INLINE void

DL_I2CT_enableACKOverrideOnPECDone(DL_UNICOMM_Inst_Regs * unicomm)
Enable ACK override when SMBus/PMBus PEC is done.

__STATIC_INLINE uint32_t

DL_I2CT_getPECCountValue(DL_UNICOMM_Inst_Regs * unicomm)
Get the SMBus/PMBus Packet Error Checking (PEC) count value.

__STATIC_INLINE void

DL_I2CT_setPECCountValue(DL_UNICOMM_Inst_Regs * unicomm, uint32_t count)
Set the SMBus/PMBus Packet Error Checking (PEC) count value.

__STATIC_INLINE void

DL_I2CT_disablePEC(DL_UNICOMM_Inst_Regs * unicomm)
Disable SMBus/PMBus Packet Error Checking (PEC)

__STATIC_INLINE bool

DL_I2CT_isPECEnabled(DL_UNICOMM_Inst_Regs * unicomm)
Checks if SMBus/PMBus Packet Error Checking (PEC) is enabled.

__STATIC_INLINE void

DL_I2CT_enablePEC(DL_UNICOMM_Inst_Regs * unicomm)
Enable SMBus/PMBus Packet Error Checking (PEC)

__STATIC_INLINE uint32_t

DL_I2CT_getCurrentPECCount(DL_UNICOMM_Inst_Regs * unicomm)
Get the current SMBus/PMBus PEC byte count of the state machine.

__STATIC_INLINE DL_I2CT_PEC_STATUS

DL_I2CT_getPECCheckedStatus(DL_UNICOMM_Inst_Regs * unicomm)
Get status if SMBus/PMBus PEC was checked in last transaction.

__STATIC_INLINE DL_I2CT_PEC_CHECK_ERROR

DL_I2CT_getPECCheckError(DL_UNICOMM_Inst_Regs * unicomm)
Get status if SMBus/PMBus PEC had an error.

__STATIC_INLINE DL_I2CT_TX_FIFO_LEVEL

DL_I2CT_getTXFIFOThreshold(DL_UNICOMM_Inst_Regs * unicomm)
Get TX FIFO threshold level.

__STATIC_INLINE void

DL_I2CT_setTXFIFOThreshold(DL_UNICOMM_Inst_Regs * unicomm, DL_I2CT_TX_FIFO_LEVEL level)
Set TX FIFO threshold level.

__STATIC_INLINE void

DL_I2CT_stopFlushTXFIFO(DL_UNICOMM_Inst_Regs * unicomm)
Stop Target TX FIFO flush.

__STATIC_INLINE void

DL_I2CT_startFlushTXFIFO(DL_UNICOMM_Inst_Regs * unicomm)
Start Target TX FIFO flush.

__STATIC_INLINE DL_I2CT_RX_FIFO_LEVEL

DL_I2CT_getRXFIFOThreshold(DL_UNICOMM_Inst_Regs * unicomm)
Get RX FIFO threshold level.

__STATIC_INLINE void

DL_I2CT_setRXFIFOThreshold(DL_UNICOMM_Inst_Regs * unicomm, DL_I2CT_RX_FIFO_LEVEL level)
Set RX FIFO threshold level.

__STATIC_INLINE void

DL_I2CT_stopFlushRXFIFO(DL_UNICOMM_Inst_Regs * unicomm)
Stop target RX FIFO flush.

__STATIC_INLINE void

DL_I2CT_startFlushRXFIFO(DL_UNICOMM_Inst_Regs * unicomm)
Start target RX FIFO flush.

__STATIC_INLINE bool

DL_I2CT_isRXFIFOFlushActive(DL_UNICOMM_Inst_Regs * unicomm)
Checks if target RX FIFO flush is active.

__STATIC_INLINE bool

DL_I2CT_isTXFIFOFlushActive(DL_UNICOMM_Inst_Regs * unicomm)
Checks if target TX FIFO flush is active.

__STATIC_INLINE void

DL_I2CT_enableInterrupt(DL_UNICOMM_Inst_Regs * unicomm, uint32_t interruptMask)
Enable I2CT interrupts.

__STATIC_INLINE void

DL_I2CT_disableInterrupt(DL_UNICOMM_Inst_Regs * unicomm, uint32_t interruptMask)
Disable I2CT interrupts.

__STATIC_INLINE uint32_t

DL_I2CT_getEnabledInterrupts(DL_UNICOMM_Inst_Regs * unicomm, uint32_t interruptMask)
Check which I2CT interrupts are enabled.

__STATIC_INLINE uint32_t

DL_I2CT_getEnabledInterruptStatus(DL_UNICOMM_Inst_Regs * unicomm, uint32_t interruptMask)
Check interrupt flag of enabled I2CT interrupts.

__STATIC_INLINE uint32_t

DL_I2CT_getRawInterruptStatus(DL_UNICOMM_Inst_Regs * unicomm, uint32_t interruptMask)
Check interrupt flag of any I2CT interrupt.

__STATIC_INLINE DL_I2CT_IIDX

DL_I2CT_getPendingInterrupt(DL_UNICOMM_Inst_Regs * unicomm)
Get highest priority pending I2CT interrupt.

__STATIC_INLINE void

DL_I2CT_clearInterruptStatus(DL_UNICOMM_Inst_Regs * unicomm, uint32_t interruptMask)
Clear pending I2CT interrupts.

__STATIC_INLINE void

DL_I2CT_enableDMAEvent(DL_UNICOMM_Inst_Regs * unicomm, DL_I2CT_EVENT_ROUTE index, uint32_t interrupt)
Enables I2CT interrupt for triggering DMA events.

__STATIC_INLINE void

DL_I2CT_disableDMAEvent(DL_UNICOMM_Inst_Regs * unicomm, DL_I2CT_EVENT_ROUTE index, uint32_t interrupt)
Disables I2CT interrupt from triggering DMA events.

__STATIC_INLINE uint32_t

DL_I2CT_getEnabledDMAEvents(DL_UNICOMM_Inst_Regs * unicomm, DL_I2CT_EVENT_ROUTE index, uint32_t interruptMask)
Check which I2CT interrupt for DMA receive events is enabled.

__STATIC_INLINE uint32_t

DL_I2CT_getEnabledDMAEventStatus(DL_UNICOMM_Inst_Regs * unicomm, DL_I2CT_EVENT_ROUTE index, uint32_t interruptMask)
Check interrupt flag of enabled I2CT interrupt for DMA event.

__STATIC_INLINE uint32_t

DL_I2CT_getRawDMAEventStatus(DL_UNICOMM_Inst_Regs * unicomm, DL_I2CT_EVENT_ROUTE index, uint32_t interruptMask)
Check interrupt flag of any I2CT interrupt for DMA event.

__STATIC_INLINE uint32_t

DL_I2CT_getTimeoutACount(DL_UNICOMM_Inst_Regs * unicomm)
Get the Timeout Counter A value.

__STATIC_INLINE void

DL_I2CT_setTimeoutACount(DL_UNICOMM_Inst_Regs * unicomm, uint32_t count)
Set the Timeout Counter A value.

__STATIC_INLINE void

DL_I2CT_disableTimeoutA(DL_UNICOMM_Inst_Regs * unicomm)
Disable Timeout Counter A.

__STATIC_INLINE bool

DL_I2CT_isTimeoutAEnabled(DL_UNICOMM_Inst_Regs * unicomm)
Checks if Timeout Counter A is enabled.

__STATIC_INLINE void

DL_I2CT_enableTimeoutA(DL_UNICOMM_Inst_Regs * unicomm)
Enable Timeout Counter A.

__STATIC_INLINE uint32_t

DL_I2CT_getCurrentTimeoutACounter(DL_UNICOMM_Inst_Regs * unicomm)
Get the current Timer Counter A value.

__STATIC_INLINE uint32_t

DL_I2CT_getTimeoutBCount(DL_UNICOMM_Inst_Regs * unicomm)
Get the Timeout Counter B value.

__STATIC_INLINE void

DL_I2CT_setTimeoutBCount(DL_UNICOMM_Inst_Regs * unicomm, uint32_t count)
Set the Timeout Counter B value.

__STATIC_INLINE void

DL_I2CT_disableTimeoutB(DL_UNICOMM_Inst_Regs * unicomm)
Disable Timeout Counter B.

__STATIC_INLINE bool

DL_I2CT_isTimeoutBEnabled(DL_UNICOMM_Inst_Regs * unicomm)
Checks if Timeout Counter B is enabled.

__STATIC_INLINE void

DL_I2CT_enableTimeoutB(DL_UNICOMM_Inst_Regs * unicomm)
Enable Timeout Counter B.

__STATIC_INLINE uint32_t

DL_I2CT_getCurrentTimeoutBCounter(DL_UNICOMM_Inst_Regs * unicomm)
Get the current Timer Counter B value.

Defines

Name

DL_I2C_TARGET_STATUS_ADDRESS_MATCH

DL_I2C_TARGET_STATUS_STALE_TX_FIFO

DL_I2C_TARGET_STATUS_TX_MODE

DL_I2C_TARGET_STATUS_BUS_BUSY

DL_I2C_TARGET_STATUS_RX_MODE

DL_I2C_TARGET_STATUS_QUICK_COMMAND_READ_WRITE

DL_I2C_TARGET_STATUS_QUICK_COMMAND_STATUS

DL_I2C_TARGET_STATUS_OWN_ADDR_ALTERNATE_MATCHED

DL_I2C_TARGET_STATUS_TRANSMIT_REQUEST

DL_I2C_TARGET_STATUS_RECEIVE_REQUEST

DL_I2C_INTERRUPT_TARGET_RX_DONE

DL_I2C_INTERRUPT_TARGET_TX_DONE

DL_I2C_INTERRUPT_TARGET_STOP

DL_I2C_TARGET_ADDRESSING_MODE

DL_I2C_TARGET_RESPONSE_OVERRIDE_VALUE

DL_I2C_TARGET_PEC_STATUS

DL_I2C_TARGET_PEC_CHECK_ERROR

DL_I2C_INTERRUPT_TARGET_RXFIFO_TRIGGER

DL_I2C_DMA_INTERRUPT_TARGET_RXFIFO_TRIGGER

DL_I2C_INTERRUPT_TARGET_TXFIFO_TRIGGER

DL_I2C_INTERRUPT_TARGET_RXFIFO_FULL

DL_I2C_INTERRUPT_TARGET_TXFIFO_EMPTY

DL_I2C_INTERRUPT_TARGET_START

DL_I2C_INTERRUPT_TARGET_GENERAL_CALL

DL_I2C_INTERRUPT_TARGET_EVENT1_DMA_DONE

DL_I2C_INTERRUPT_TARGET_EVENT2_DMA_DONE

DL_I2C_INTERRUPT_TARGET_PEC_RX_ERROR

DL_I2C_INTERRUPT_TARGET_TXFIFO_UNDERFLOW

DL_I2C_INTERRUPT_TARGET_RXFIFO_OVERFLOW

DL_I2C_INTERRUPT_TARGET_ARBITRATION_LOST

DL_I2C_DMA_INTERRUPT_TARGET_TXFIFO_TRIGGER

DL_I2C_TARGET_ADDRESSING_MODE_7_BIT

DL_I2C_TARGET_ADDRESSING_MODE_10_BIT

DL_I2C_TARGET_PEC_STATUS_CHECKED

DL_I2C_TARGET_PEC_STATUS_NOT_CHECKED

DL_I2C_TARGET_RESPONSE_OVERRIDE_VALUE_ACK

DL_I2C_TARGET_RESPONSE_OVERRIDE_VALUE_NACK

DL_I2C_IIDX_TARGET_RX_DONE

DL_I2C_IIDX_TARGET_TX_DONE

DL_I2C_IIDX_TARGET_RXFIFO_TRIGGER

DL_I2C_IIDX_TARGET_TXFIFO_TRIGGER

DL_I2C_IIDX_TARGET_RXFIFO_FULL

DL_I2C_IIDX_TARGET_TXFIFO_EMPTY

DL_I2C_IIDX_TARGET_GENERAL_CALL

DL_I2C_IIDX_TARGET_START

DL_I2C_IIDX_TARGET_STOP

DL_I2C_IIDX_TARGET_ARBITRATION_LOST

DL_I2C_IIDX_TARGET_EVENT1_DMA_DONE

DL_I2C_IIDX_TARGET_EVENT2_DMA_DONE

DL_I2C_IIDX_TARGET_PEC_RX_ERROR

DL_I2C_IIDX_TARGET_TXFIFO_UNDERFLOW

DL_I2C_IIDX_TARGET_RXFIFO_OVERFLOW

DL_I2C_getTargetOwnAddressAlternate

I2C_getTargetOwnAddressAlternateMask

DL_I2C_isTargetTXFIFOFull

DL_I2C_isTargetTXFIFOEmpty

DL_I2C_isTargetRXFIFOEmpty

DL_I2C_fillTargetTXFIFO

DL_I2C_flushTargetTXFIFO

DL_I2C_flushTargetRXFIFO

DL_I2C_transmitTargetDataBlocking

DL_I2C_transmitTargetDataCheck

DL_I2C_receiveTargetDataBlocking

DL_I2C_receiveTargetDataCheck

DL_I2C_setTargetOwnAddress

DL_I2C_getTargetOwnAddress

DL_I2C_enableTargetOwnAddress

DL_I2C_disableTargetOwnAddress

DL_I2C_isTargetOwnAddressEnabled

DL_I2C_setTargetAddressingMode

DL_I2C_getTargetAddressingMode

DL_I2C_setTargetOwnAddressAlternate

DL_I2C_setTargetOwnAddressAlternateMask

DL_I2C_disableTargetOwnAddressAlternate

DL_I2C_isTargetOwnAddressAlternateEnabled

DL_I2C_enableTargetOwnAddressAlternate

DL_I2C_getTargetAddressMatch

DL_I2C_disableTargetClockStretching

DL_I2C_isTargetClockStretchingEnabled

DL_I2C_enableTargetClockStretching

DL_I2C_disableTargetTXEmptyOnTXRequest

DL_I2C_isTargetTXEmptyOnTXRequestEnabled

DL_I2C_enableTargetTXEmptyOnTXRequest

DL_I2C_disableTargetTXTriggerInTXMode

DL_I2C_isTargetTXTriggerInTXModeEnabled

DL_I2C_enableTargetTXTriggerInTXMode

DL_I2C_disableTargetTXWaitWhenTXFIFOStale

DL_I2C_isTargetTXWaitWhenTXFIFOStaleEnabled

DL_I2C_enableTargetTXWaitWhenTXFIFOStale

DL_I2C_disableTargetRXFullOnRXRequest

DL_I2C_isTargetRXFullOnRXRequestEnabled

DL_I2C_enableTargetRXFullOnRXRequest

DL_I2C_disableTargetWakeup

DL_I2C_isTargetWakeupEnabled

DL_I2C_enableTargetWakeup

DL_I2C_disableTarget

DL_I2C_isTargetEnabled

DL_I2C_enableTarget

DL_I2C_getTargetStatus

DL_I2C_receiveTargetData

DL_I2C_transmitTargetData

DL_I2C_disableTargetACKOverride

DL_I2C_isTargetACKOverrideEnabled

DL_I2C_enableTargetACKOverride

DL_I2C_getTargetACKOverrideValue

DL_I2C_setTargetACKOverrideValue

DL_I2C_getTargetPECCountValue

DL_I2C_setTargetPECCountValue

DL_I2C_disableTargetPEC

DL_I2C_isTargetPECEnabled

DL_I2C_enableTargetPEC

DL_I2C_getTargetCurrentPECCount

DL_I2C_getTargetPECCheckedStatus

DL_I2C_getTargetPECCheckError

DL_I2C_getTargetTXFIFOThreshold

DL_I2C_setTargetTXFIFOThreshold

DL_I2C_stopFlushTargetTXFIFO

DL_I2C_startFlushTargetTXFIFO

DL_I2C_getTargetRXFIFOThreshold

DL_I2C_setTargetRXFIFOThreshold

DL_I2C_stopFlushTargetRXFIFO

DL_I2C_startFlushTargetRXFIFO

DL_I2C_isTargetRXFIFOFlushActive

DL_I2C_isTargetTXFIFOFlushActive

DL_I2CT_STATUS_ADDRESS_MATCH
Indicates the address for which address match happened.

DL_I2CT_STATUS_STALE_TX_FIFO
I2CT Stale TX FIFO.

DL_I2CT_STATUS_TX_MODE
I2CT TX Mode.

DL_I2CT_STATUS_BUS_BUSY
I2CT Bus Busy.

DL_I2CT_STATUS_RX_MODE
I2CT RX Mode.

DL_I2CT_STATUS_QUICK_COMMAND_READ_WRITE
Direction of I2CT Quick Command Only valid when QCMDST is set.

DL_I2CT_STATUS_QUICK_COMMAND_STATUS
Status of I2CT Quick Command.

DL_I2CT_STATUS_OWN_ADDR_ALTERNATE_MATCHED
I2CT Own Address Alternate Matched.

DL_I2CT_STATUS_TRANSMIT_REQUEST
I2CT Transmit Request.

DL_I2CT_STATUS_RECEIVE_REQUEST
I2CT Receive Request.

DL_I2CT_INTERRUPT_RX_DONE
Receive Data Interrupt (byte has been received)

DL_I2CT_INTERRUPT_TX_DONE
Transmit Transaction completed Interrupt.

DL_I2CT_INTERRUPT_RXFIFO_TRIGGER
Receive FIFO Trigger.

DL_I2CT_INTERRUPT_TXFIFO_TRIGGER
Transmit FIFO Trigger.

DL_I2CT_INTERRUPT_RXFIFO_FULL
RX FIFO full.

DL_I2CT_INTERRUPT_TXFIFO_EMPTY
TX FIFO empty. All data in Transmit FIFO shifted out and transmit goes into idle mode.

DL_I2CT_INTERRUPT_START
Start Condition detected.

DL_I2CT_INTERRUPT_STOP
Stop Condition detected.

DL_I2CT_INTERRUPT_GENERAL_CALL
General Call Interrupt.

DL_I2CT_INTERRUPT_EVENT1_DMA_DONE
DMA Done on Event 1 Publisher.

DL_I2CT_INTERRUPT_EVENT2_DMA_DONE
DMA Done on Event 2 Publisher.

DL_I2CT_INTERRUPT_PEC_RX_ERROR
SMBus/PMBus PEC Receive Error Interrupt.

DL_I2CT_INTERRUPT_TXFIFO_UNDERFLOW
TX FIFO Underflow Interrupt.

DL_I2CT_INTERRUPT_RXFIFO_OVERFLOW
RX FIFO Overflow Interrupt.

DL_I2CT_INTERRUPT_ARBITRATION_LOST
Arbitration Lost Interrupt.

DL_I2CT_INTERRUPT_TIMEOUT_A
Timeout A Interrupt.

DL_I2CT_INTERRUPT_TIMEOUT_B
Timeout B Interrupt.

DL_I2CT_DMA_INTERRUPT_TXFIFO_TRIGGER
Peripheral Transmit FIFO Trigger interrupt for DMA trigger.

DL_I2CT_DMA_INTERRUPT_RXFIFO_TRIGGER
Peripheral Receive FIFO Trigger interrupt for DMA trigger.

Types Documentation

enum DL_I2CT_EVENT_ROUTE

Enumerator

Value

Description

DL_I2CT_EVENT_ROUTE_1

0

I2CT event route 1

DL_I2CT_EVENT_ROUTE_2

12

I2CT event route 2

DL_I2CT_EVENT_ROUTE.

enum DL_I2CT_CLOCK

Enumerator

Value

Description

DL_I2CT_CLOCK_BUSCLK

UNICOMMI2CT_CLKSEL_BUSCLK_SEL_ENABLE

BUSCLK enabled as I2CT clock source

DL_I2CT_CLOCK.

enum DL_I2CT_CLOCK_DIVIDE

Enumerator

Value

Description

DL_I2CT_CLOCK_DIVIDE_1

UNICOMMI2CT_CLKDIV_RATIO_DIV_BY_1

I2CT Clock Divided by 1

DL_I2CT_CLOCK_DIVIDE_2

UNICOMMI2CT_CLKDIV_RATIO_DIV_BY_2

I2CT Clock Divided by 2

DL_I2CT_CLOCK_DIVIDE_3

UNICOMMI2CT_CLKDIV_RATIO_DIV_BY_3

I2CT Clock Divided by 3

DL_I2CT_CLOCK_DIVIDE_4

UNICOMMI2CT_CLKDIV_RATIO_DIV_BY_4

I2CT Clock Divided by 4

DL_I2CT_CLOCK_DIVIDE_5

UNICOMMI2CT_CLKDIV_RATIO_DIV_BY_5

I2CT Clock Divided by 5

DL_I2CT_CLOCK_DIVIDE_6

UNICOMMI2CT_CLKDIV_RATIO_DIV_BY_6

I2CT Clock Divided by 6

DL_I2CT_CLOCK_DIVIDE_7

UNICOMMI2CT_CLKDIV_RATIO_DIV_BY_7

I2CT Clock Divided by 7

DL_I2CT_CLOCK_DIVIDE_8

UNICOMMI2CT_CLKDIV_RATIO_DIV_BY_8

I2CT Clock Divided by 8

DL_I2CT_CLOCK_DIVIDE.

enum DL_I2CT_ADDRESSING_MODE

Enumerator

Value

Description

DL_I2CT_ADDRESSING_MODE_7_BIT

UNICOMMI2CT_OAR_MODE_MODE7

Enable in 7-bit addressing mode

DL_I2CT_ADDRESSING_MODE_10_BIT

UNICOMMI2CT_OAR_MODE_MODE10

Enable in 10-bit addressing mode

DL_I2CT_ADDRESSING_MODE.

enum DL_I2CT_PEC_STATUS

Enumerator

Value

Description

DL_I2CT_PEC_STATUS_CHECKED

UNICOMMI2CT_PECSR_PECSTS_CHECK_SET

I2CT SMBus/PMBus PEC was checked in the transaction that occurred before the last Stop

DL_I2CT_PEC_STATUS_NOT_CHECKED

UNICOMMI2CT_PECSR_PECSTS_CHECK_CLEARED

I2CT SMBus/PMBus PEC was not checked in the transaction that occurred before the last Stop

DL_I2CT_PEC_STATUS.

enum DL_I2CT_PEC_CHECK_ERROR

Enumerator

Value

Description

DL_I2CT_PEC_CHECK_ERROR_CLEARED

UNICOMMI2CT_PECSR_PECSTS_ERROR_CLEARED

Indicates PEC check error did not occurr in the transaction that occurred before the last Stop

DL_I2CT_PEC_CHECK_ERROR_SET

UNICOMMI2CT_PECSR_PECSTS_ERROR_SET

Indicates PEC check error occurred in the transaction that occurred before the last Stop

DL_I2CT_PEC_CHECK_ERROR.

enum DL_I2CT_DIGITAL_GLITCH_FILTER_WIDTH

Enumerator

Value

Description

DL_I2CT_DIGITAL_GLITCH_FILTER_WIDTH_DISABLED

UNICOMMI2CT_GFCTL_DGFSEL_DISABLED

Pulses filtering disabled.

DL_I2CT_DIGITAL_GLITCH_FILTER_WIDTH_CLOCKS_1

UNICOMMI2CT_GFCTL_DGFSEL_CLK_1

Pulses shorter than 1 functional clock tick in length are filtered.

DL_I2CT_DIGITAL_GLITCH_FILTER_WIDTH_CLOCKS_2

UNICOMMI2CT_GFCTL_DGFSEL_CLK_2

Pulses shorter than 2 functional clock ticks in length are filtered.

DL_I2CT_DIGITAL_GLITCH_FILTER_WIDTH_CLOCKS_3

UNICOMMI2CT_GFCTL_DGFSEL_CLK_3

Pulses shorter than 3 functional clock ticks in length are filtered.

DL_I2CT_DIGITAL_GLITCH_FILTER_WIDTH_CLOCKS_4

UNICOMMI2CT_GFCTL_DGFSEL_CLK_4

Pulses shorter than 4 functional clock ticks in length are filtered.

DL_I2CT_DIGITAL_GLITCH_FILTER_WIDTH_CLOCKS_8

UNICOMMI2CT_GFCTL_DGFSEL_CLK_8

Pulses shorter than 8 functional clock ticks in length are filtered.

DL_I2CT_DIGITAL_GLITCH_FILTER_WIDTH_CLOCKS_16

UNICOMMI2CT_GFCTL_DGFSEL_CLK_16

Pulses shorter than 16 functional clock ticks in length are filtered.

DL_I2CT_DIGITAL_GLITCH_FILTER_WIDTH_CLOCKS_31

UNICOMMI2CT_GFCTL_DGFSEL_CLK_31

Pulses shorter than 31 functional clock ticks in length are filtered.

DL_I2CT_DIGITAL_GLITCH_FILTER_WIDTH.

enum DL_I2CT_TX_FIFO_LEVEL

Enumerator

Value

Description

DL_I2CT_TX_FIFO_LEVEL_3_4_EMPTY

UNICOMMI2CT_IFLS_TXIFLSEL_LVL_3_4

Interrupt triggers when FIFO <= 3/4 empty

DL_I2CT_TX_FIFO_LEVEL_1_2_EMPTY

UNICOMMI2CT_IFLS_TXIFLSEL_LVL_1_2

Interrupt triggers when FIFO <= 1/2 empty

DL_I2CT_TX_FIFO_LEVEL_1_4_EMPTY

UNICOMMI2CT_IFLS_TXIFLSEL_LVL_1_4

Interrupt triggers when FIFO <= 1/4 empty

DL_I2CT_TX_FIFO_LEVEL_NOT_FULL

UNICOMMI2CT_IFLS_TXIFLSEL_LVL_NOT_FULL

Interrupt triggers when FIFO is not full

DL_I2CT_TX_FIFO_LEVEL_EMPTY

UNICOMMI2CT_IFLS_TXIFLSEL_LVL_EMPTY

Interrupt triggers when FIFO is empty

DL_I2CT_TX_FIFO_LEVEL_ALMOST_EMPTY

UNICOMMI2CT_IFLS_TXIFLSEL_LVL_ALMOST_EMPTY

Interrupt triggers when FIFO is almost empty (FIFO <= 1)

DL_I2CT_TX_FIFO_LEVEL_ALMOST_FULL

UNICOMMI2CT_IFLS_TXIFLSEL_LVL_ALMOST_FULL

Interrupt triggers when FIFO is almost full (FIFO >= (MAX_FIFO_LEN - 1))

DL_I2CT_TX_FIFO_LEVEL.

enum DL_I2CT_RX_FIFO_LEVEL

Enumerator

Value

Description

DL_I2CT_RX_FIFO_LEVEL_3_4_FULL

UNICOMMI2CT_IFLS_RXIFLSEL_LVL_3_4

Interrupt triggers when FIFO >= 3/4 Full

DL_I2CT_RX_FIFO_LEVEL_1_2_FULL

UNICOMMI2CT_IFLS_RXIFLSEL_LVL_1_2

Interrupt triggers when FIFO >= 1/2 Full

DL_I2CT_RX_FIFO_LEVEL_1_4_FULL

UNICOMMI2CT_IFLS_RXIFLSEL_LVL_1_4

Interrupt triggers when FIFO >= 1/4 Full

DL_I2CT_RX_FIFO_LEVEL_NOT_EMPTY

UNICOMMI2CT_IFLS_RXIFLSEL_LVL_NOT_EMPTY

Interrupt triggers when FIFO is not empty

DL_I2CT_RX_FIFO_LEVEL_FULL

UNICOMMI2CT_IFLS_RXIFLSEL_LVL_FULL

Interrupt triggers when FIFO is full

DL_I2CT_RX_FIFO_LEVEL_ALMOST_EMPTY

UNICOMMI2CT_IFLS_RXIFLSEL_LVL_ALMOST_EMPTY

Interrupt triggers when FIFO is almost empty (FIFO <= 1)

DL_I2CT_RX_FIFO_LEVEL_ALMOST_FULL

UNICOMMI2CT_IFLS_RXIFLSEL_LVL_ALMOST_FULL

Interrupt triggers when FIFO is almost full (FIFO >= (MAX_FIFO_LEN - 1))

DL_I2CT_RX_FIFO_LEVEL.

enum DL_I2CT_RESPONSE_OVERRIDE_VALUE

Enumerator

Value

Description

DL_I2CT_RESPONSE_OVERRIDE_VALUE_ACK

UNICOMMI2CT_ACKCTL_ACKOVAL_DISABLE

manual ACK for valid data or command.

DL_I2CT_RESPONSE_OVERRIDE_VALUE_NACK

UNICOMMI2CT_ACKCTL_ACKOVAL_ENABLE

manual NACK for invalid data or command.

DL_I2CT_RESPONSE_OVERRIDE_VALUE.

enum DL_I2CT_IIDX

Enumerator

Value

Description

DL_I2CT_IIDX_NO_INT

UNICOMMI2CT_IIDX_STAT_NO_INTR

Interrupt index for I2CT if no interrupt is pending

DL_I2CT_IIDX_TIMEOUT_A

UNICOMMI2CT_IIDX_STAT_TIMEOUTA

Interrupt index for I2CT Timeout A Event

DL_I2CT_IIDX_TIMEOUT_B

UNICOMMI2CT_IIDX_STAT_TIMEOUTB

Interrupt index for I2CT Timeout B Event

DL_I2CT_IIDX_RX_DONE

UNICOMMI2CT_IIDX_STAT_RXDONEFG

Interrupt index for I2CT Receive Data

DL_I2CT_IIDX_TX_DONE

UNICOMMI2CT_IIDX_STAT_TXDONEFG

Interrupt index for I2CT Transmit Transaction completed

DL_I2CT_IIDX_RXFIFO_TRIGGER

UNICOMMI2CT_IIDX_STAT_RXTRG

Interrupt index for I2CT Receive FIFO Trigger

DL_I2CT_IIDX_TXFIFO_TRIGGER

UNICOMMI2CT_IIDX_STAT_TXTRG

Interrupt index for I2CT Transmit FIFO Trigger

DL_I2CT_IIDX_RXFIFO_FULL

UNICOMMI2CT_IIDX_STAT_RXFULL

Interrupt index for I2CT RX FIFO full

DL_I2CT_IIDX_TXFIFO_EMPTY

UNICOMMI2CT_IIDX_STAT_TXEMPTY

Interrupt index for I2CT TX FIFO empty. All data in Transmit FIFO shifted out and transmit goes into idle mode.

DL_I2CT_IIDX_START

UNICOMMI2CT_IIDX_STAT_STARTFG

Interrupt index for I2CT Start Condition detected

DL_I2CT_IIDX_STOP

UNICOMMI2CT_IIDX_STAT_STOPFG

Interrupt index for I2CT Stop Condition detected

DL_I2CT_IIDX_GENERAL_CALL

UNICOMMI2CT_IIDX_STAT_GENCALL

Interrupt index for I2CT General Call

DL_I2CT_IIDX_EVENT1_DMA_DONE

UNICOMMI2CT_IIDX_STAT_DMA_DONE_TX

Interrupt index for I2CT Event 1 DMA Done

DL_I2CT_IIDX_EVENT2_DMA_DONE

UNICOMMI2CT_IIDX_STAT_DMA_DONE_RX

Interrupt index for I2CT Event 2 DMA Done

DL_I2CT_IIDX_PREEMPT_INT_TX

UNICOMMI2CT_IIDX_STAT_DMA_PREIRQ_TX

Interrupt index for I2CT receive pre-emptive interrupt

DL_I2CT_IIDX_PREEMPT_INT_RX

UNICOMMI2CT_IIDX_STAT_DMA_PREIRQ_RX

Interrupt index for I2CT receive pre-emptive interrupt

DL_I2CT_IIDX_PEC_RX_ERROR

UNICOMMI2CT_IIDX_STAT_PEC_RX_ERR

Interrupt index for I2CT SMBus/PMBus PEC Receive Error Event

DL_I2CT_IIDX_TXFIFO_UNDERFLOW

UNICOMMI2CT_IIDX_STAT_TX_UNFL

Interrupt index for I2CT TX FIFO underflow event

DL_I2CT_IIDX_RXFIFO_OVERFLOW

UNICOMMI2CT_IIDX_STAT_RX_OVFL

Interrupt index for I2CT RX FIFO overflow event

DL_I2CT_IIDX_ARBITRATION_LOST

UNICOMMI2CT_IIDX_STAT_ARBLOSTFG

Interrupt index for I2CT arbitration lost event

DL_I2CT_IIDX.

Functions Documentation

function DL_I2CT_setClockConfig

void DL_I2CT_setClockConfig(
    DL_UNICOMM_Inst_Regs * unicomm,
    DL_I2CT_ClockConfig * config
)

Configure I2CT source clock.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

  • config Pointer to the clock configuration struct DL_I2CT_ClockConfig.

function DL_I2CT_getClockConfig

void DL_I2CT_getClockConfig(
    DL_UNICOMM_Inst_Regs * unicomm,
    DL_I2CT_ClockConfig * config
)

Get I2CT source clock configuration.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

  • config Pointer to the clock configuration struct DL_I2CT_ClockConfig.

function DL_I2CT_isTXFIFOFull

__STATIC_INLINE bool DL_I2CT_isTXFIFOFull(
    DL_UNICOMM_Inst_Regs * unicomm
)

Checks if TX FIFO is full.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • true if TX FIFO is full

  • false if TX FIFO is not full

Return: If TX FIFO is full

function DL_I2CT_isTXFIFOEmpty

__STATIC_INLINE bool DL_I2CT_isTXFIFOEmpty(
    DL_UNICOMM_Inst_Regs * unicomm
)

Checks if TX FIFO is empty.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • true if TX FIFO is empty

  • false if TX FIFO is not empty

Return: If TX FIFO is empty

function DL_I2CT_isRXFIFOFull

__STATIC_INLINE bool DL_I2CT_isRXFIFOFull(
    DL_UNICOMM_Inst_Regs * unicomm
)

Checks if RX FIFO is full.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • true if RX FIFO is full

  • false if RX FIFO is not full

Return: If RX FIFO is full

function DL_I2CT_isRXFIFOEmpty

__STATIC_INLINE bool DL_I2CT_isRXFIFOEmpty(
    DL_UNICOMM_Inst_Regs * unicomm
)

Checks if RX FIFO is empty.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • true if RX FIFO is empty

  • false if RX FIFO is not empty

Return: If RX FIFO is empty

function DL_I2CT_fillTXFIFO

uint8_t DL_I2CT_fillTXFIFO(
    DL_UNICOMM_Inst_Regs * unicomm,
    uint8_t * buffer,
    uint8_t count
)

Fills the TX FIFO with data.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

  • buffer Pointer to buffer of bytes

  • count Number of bytes to fill TX FIFO from buffer

Return: Number of bytes that were successfully written

function DL_I2CT_flushTXFIFO

void DL_I2CT_flushTXFIFO(
    DL_UNICOMM_Inst_Regs * unicomm
)

Flushes/removes all elements in the target TX FIFO.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

function DL_I2CT_flushRXFIFO

void DL_I2CT_flushRXFIFO(
    DL_UNICOMM_Inst_Regs * unicomm
)

Flushes/removes all elements in the target RX FIFO.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

function DL_I2CT_transmitDataBlocking

void DL_I2CT_transmitDataBlocking(
    DL_UNICOMM_Inst_Regs * unicomm,
    uint8_t data
)

Transmit data, waiting until transmit request.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

  • data Byte of data to transmit

Note: Setting own addresses and enabling should be done separately.

function DL_I2CT_transmitDataCheck

bool DL_I2CT_transmitDataCheck(
    DL_UNICOMM_Inst_Regs * unicomm,
    uint8_t data
)

Transmit data.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

  • data Byte of data to transmit

Returns:

  • true if data could be transmitted

  • false if data could not be transmitted

Return: Whether data could be transmitted or not

Note: Setting own addresses and enabling should be done separately.

function DL_I2CT_receiveDataBlocking

uint8_t DL_I2CT_receiveDataBlocking(
    DL_UNICOMM_Inst_Regs * unicomm
)

Receive data, waiting until receive request.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Return: Data received from

Note: Setting own addresses and enabling should be done separately.

function DL_I2CT_receiveDataCheck

bool DL_I2CT_receiveDataCheck(
    DL_UNICOMM_Inst_Regs * unicomm,
    uint8_t * buffer
)

Receive data.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

  • buffer Pointer to where byte of received data should be stored

Returns:

  • true if data could be received

  • false if data could not be received

Return: Whether data could be received or not

Note: Setting own addresses and enabling should be done separately.

function DL_I2CT_enablePower

__STATIC_INLINE void DL_I2CT_enablePower(
    DL_UNICOMM_Inst_Regs * unicomm
)

Enables power on UNICOMM I2C module.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

function DL_I2CT_disablePower

__STATIC_INLINE void DL_I2CT_disablePower(
    DL_UNICOMM_Inst_Regs * unicomm
)

Disables power on UNICOMM I2C module.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

function DL_I2CT_isPowerEnabled

__STATIC_INLINE bool DL_I2CT_isPowerEnabled(
    DL_UNICOMM_Inst_Regs * unicomm
)

Returns if power on UNICOMM I2C module.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Return:

  • true if power is enabled

  • false if power is disabled

function DL_I2CT_reset

__STATIC_INLINE void DL_I2CT_reset(
    DL_UNICOMM_Inst_Regs * unicomm
)

Resets UNICOMM I2C peripheral.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

function DL_I2CT_isReset

__STATIC_INLINE bool DL_I2CT_isReset(
    DL_UNICOMM_Inst_Regs * unicomm
)

Returns if UNICOMM I2C peripheral was reset.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Return:

  • true if peripheral was reset

  • false if peripheral wasn’t reset

function DL_I2CT_selectClockSource

__STATIC_INLINE void DL_I2CT_selectClockSource(
    DL_UNICOMM_Inst_Regs * unicomm,
    DL_I2CT_CLOCK clockSource
)

Set Clock Source.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

  • clockSource One of DL_I2CT_CLOCK.

Clock sources depend on device and clock should be enabled

function DL_I2CT_selectClockDivider

__STATIC_INLINE void DL_I2CT_selectClockDivider(
    DL_UNICOMM_Inst_Regs * unicomm,
    DL_I2CT_CLOCK_DIVIDE clockDivider
)

Set Clock Divider.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

  • clockDivider One of DL_I2CT_CLOCK_DIVIDE.

function DL_I2CT_getDigitalGlitchFilterPulseWidth

__STATIC_INLINE DL_I2CT_DIGITAL_GLITCH_FILTER_WIDTH DL_I2CT_getDigitalGlitchFilterPulseWidth(
    DL_UNICOMM_Inst_Regs * unicomm
)

Get Digital Glitch Suppression Pulse Width.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

Return: Digital glitch suppression pulse width

Pulse width for the digital glitch suppression on SCL/SDA lines. Values are in terms of functional clock ticks.

function DL_I2CT_setDigitalGlitchFilterPulseWidth

__STATIC_INLINE void DL_I2CT_setDigitalGlitchFilterPulseWidth(
    DL_UNICOMM_Inst_Regs * unicomm,
    DL_I2CT_DIGITAL_GLITCH_FILTER_WIDTH filterWidth
)

Set Digital Glitch Suppression Pulse Width.

Parameters:

Pulse width for the digital glitch suppression on SCL/SDA lines. Values are in terms of functional clock ticks.

function DL_I2CT_disableAnalogGlitchFilter

__STATIC_INLINE void DL_I2CT_disableAnalogGlitchFilter(
    DL_UNICOMM_Inst_Regs * unicomm
)

Disable Analog Glitch Suppression.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

function DL_I2CT_isAnalogGlitchFilterEnabled

__STATIC_INLINE bool DL_I2CT_isAnalogGlitchFilterEnabled(
    DL_UNICOMM_Inst_Regs * unicomm
)

Checks if analog glitch suppression is enabled.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • true if analog glitch suppression is enabled

  • false if analog glitch suppression is disabled

Return: If analog glitch suppression is enabled

function DL_I2CT_enableAnalogGlitchFilter

__STATIC_INLINE void DL_I2CT_enableAnalogGlitchFilter(
    DL_UNICOMM_Inst_Regs * unicomm
)

Enable Analog Glitch Suppression.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

function DL_I2CT_setOwnAddress

__STATIC_INLINE void DL_I2CT_setOwnAddress(
    DL_UNICOMM_Inst_Regs * unicomm,
    uint32_t addr
)

Set own address.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

  • addr Value of own address [0x00, 0x3FF]

This field specifies bits A9 through A0 of the own address.

In 7-bit addressing mode as selected by DL_I2CT_setAddressingMode, the top 3 bits are don’t care

function DL_I2CT_getOwnAddress

__STATIC_INLINE uint32_t DL_I2CT_getOwnAddress(
    DL_UNICOMM_Inst_Regs * unicomm
)

Get own address.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • [0x000x3FF]

Return: own address

Get bits A9 through A0 of the own address.

In 7-bit addressing mode as selected by DL_I2CT_setAddressingMode, the top 3 bits are don’t care

function DL_I2CT_enableOwnAddress

__STATIC_INLINE void DL_I2CT_enableOwnAddress(
    DL_UNICOMM_Inst_Regs * unicomm
)

Enable own address.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

See: DL_I2CT_setOwnAddress

function DL_I2CT_disableOwnAddress

__STATIC_INLINE void DL_I2CT_disableOwnAddress(
    DL_UNICOMM_Inst_Regs * unicomm
)

Disable own address.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

function DL_I2CT_isOwnAddressEnabled

__STATIC_INLINE bool DL_I2CT_isOwnAddressEnabled(
    DL_UNICOMM_Inst_Regs * unicomm
)

Checks if own address is enabled.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • true if own address is enabled

  • false if own address is disabled

Return: If own address is enabled

function DL_I2CT_setAddressingMode

__STATIC_INLINE void DL_I2CT_setAddressingMode(
    DL_UNICOMM_Inst_Regs * unicomm,
    DL_I2CT_ADDRESSING_MODE mode
)

Set addressing mode.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

  • mode Addressing mode to set the to. One of DL_I2CT_ADDRESSING_MODE.

Selects the addressing mode to be used when device is configured as a

function DL_I2CT_getAddressingMode

__STATIC_INLINE DL_I2CT_ADDRESSING_MODE DL_I2CT_getAddressingMode(
    DL_UNICOMM_Inst_Regs * unicomm
)

Get addressing mode.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

Return: Addressing mode the is set to

function DL_I2CT_getOwnAddressAlternate

__STATIC_INLINE uint32_t DL_I2CT_getOwnAddressAlternate(
    DL_UNICOMM_Inst_Regs * unicomm
)

Get own address alternate.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • [0x000x7f]

Return: own address alternate

function DL_I2CT_setOwnAddressAlternate

__STATIC_INLINE void DL_I2CT_setOwnAddressAlternate(
    DL_UNICOMM_Inst_Regs * unicomm,
    uint32_t addr
)

Set own address alternate.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

  • addr Value of own address alternate [0x00, 0x7f]

function DL_I2CT_getOwnAddressAlternateMask

__STATIC_INLINE uint32_t DL_I2CT_getOwnAddressAlternateMask(
    DL_UNICOMM_Inst_Regs * unicomm
)

Get own address alternate mask.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • Bit mask with each bit corresponding to bits A6 through A0 of the address. Value between [0x00, 0x7F]

Return: Which bits of the address are matched

function DL_I2CT_setOwnAddressAlternateMask

__STATIC_INLINE void DL_I2CT_setOwnAddressAlternateMask(
    DL_UNICOMM_Inst_Regs * unicomm,
    uint32_t addressMask
)

Set own address alternate mask.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

  • addressMask Bit mask of address bits to match. Value between [0x00, 0x7F]

This field specifies bits A6 through A0 of the address. The bits with a value of 1 in the SOAR2.OAR2_MASK field will make the corresponding incoming address bits to match by default regardless of the value inside SOAR2.OAR2 i.e. corresponding SOAR2.OAR2 bit is a don’t care.

function DL_I2CT_disableOwnAddressAlternate

__STATIC_INLINE void DL_I2CT_disableOwnAddressAlternate(
    DL_UNICOMM_Inst_Regs * unicomm
)

Disable usage of own address alternate.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

function DL_I2CT_isOwnAddressAlternateEnabled

__STATIC_INLINE bool DL_I2CT_isOwnAddressAlternateEnabled(
    DL_UNICOMM_Inst_Regs * unicomm
)

Checks if own address alternate is enabled.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • true if own address alternate is enabled

  • false if own address alternate is disabled

Return: If own address alternate is enabled

function DL_I2CT_enableOwnAddressAlternate

__STATIC_INLINE void DL_I2CT_enableOwnAddressAlternate(
    DL_UNICOMM_Inst_Regs * unicomm
)

Enable usage of own address alternate.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

function DL_I2CT_getAddressMatch

__STATIC_INLINE uint32_t DL_I2CT_getAddressMatch(
    DL_UNICOMM_Inst_Regs * unicomm
)

Get the address for which address match happened.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • Bit mask with each bit corresponding to the address. Value between [0x00, 0x7F] in 7-bit mode, or [0x00, 0x3FF] in 10-bit mode.

Return: Matched address

function DL_I2CT_disableClockStretching

__STATIC_INLINE void DL_I2CT_disableClockStretching(
    DL_UNICOMM_Inst_Regs * unicomm
)

Disable clock stretching.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Clock stretching should be enabled to be compliant with I2CT specification and the SCL will be stretched when data must be read or written from the FIFO. It can optionally be disabled if a controller does not support it or to achieve maximum I2CT frequency; however the developer should ensure that the FIFO is written or read on time.

function DL_I2CT_isClockStretchingEnabled

__STATIC_INLINE bool DL_I2CT_isClockStretchingEnabled(
    DL_UNICOMM_Inst_Regs * unicomm
)

Checks if clock stretching is enabled.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • true if clock stretching is enabled

  • false if clock stretching is disabled

Return: If clock stretching is enabled

function DL_I2CT_enableClockStretching

__STATIC_INLINE void DL_I2CT_enableClockStretching(
    DL_UNICOMM_Inst_Regs * unicomm
)

Enable clock stretching.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Clock stretching should be enabled to be compliant with I2CT specification and the SCL will be stretched when data must be read or written from the FIFO. It can optionally be disabled if a controller does not support it or to achieve maximum I2CT frequency; however the developer should ensure that the FIFO is written or read on time.

function DL_I2CT_disableTXEmptyOnTXRequest

__STATIC_INLINE void DL_I2CT_disableTXEmptyOnTXRequest(
    DL_UNICOMM_Inst_Regs * unicomm
)

Disable TX empty interrupt on transmit request.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

See: DL_I2CT_isClockStretchEnabled

When disabled, RIS.STXEMPTY will be set when only the TX FIFO is empty. This allows the STXEMPTY interrupt to be used to indicate that the I2CT bus is being clock stretched and that TX data is required.

function DL_I2CT_isTXEmptyOnTXRequestEnabled

__STATIC_INLINE bool DL_I2CT_isTXEmptyOnTXRequestEnabled(
    DL_UNICOMM_Inst_Regs * unicomm
)

Checks if TX empty interrupt on transmit request is enabled.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • true if TX empty interrupt on transmit request is enabled

  • false if TX empty interrupt on transmit request disabled

Return: If TX empty interrupt on transmit request is enabled

function DL_I2CT_enableTXEmptyOnTXRequest

__STATIC_INLINE void DL_I2CT_enableTXEmptyOnTXRequest(
    DL_UNICOMM_Inst_Regs * unicomm
)

Enable TX empty interrupt on transmit request.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

When enabled, RIS.STXEMPTY will be set when the state machine is in the TX_WAIT state which occurs when the TX FIFO is empty AND the UNICOMMI2CT transaction is clock stretched waiting for the FIFO to receive data.

function DL_I2CT_disableTXTriggerInTXMode

__STATIC_INLINE void DL_I2CT_disableTXTriggerInTXMode(
    DL_UNICOMM_Inst_Regs * unicomm
)

Disable TX trigger in TX mode.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

When disabled, RIS.TXFIFOTRG will only be set when the TX FIFO is at or above the trigger level.

function DL_I2CT_isTXTriggerInTXModeEnabled

__STATIC_INLINE bool DL_I2CT_isTXTriggerInTXModeEnabled(
    DL_UNICOMM_Inst_Regs * unicomm
)

Checks if TX trigger in TX mode is enabled.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • true if TX trigger in TX mode is enabled

  • false if TX trigger in TX mode is disabled

Return: If TX trigger in TX mode is enabled

function DL_I2CT_enableTXTriggerInTXMode

__STATIC_INLINE void DL_I2CT_enableTXTriggerInTXMode(
    DL_UNICOMM_Inst_Regs * unicomm
)

Enable TX trigger when is in TX mode.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

See: DL_I2CT_INTERRUPT_CONTROLLER_TXFIFO_TRIGGER

When enabled, RIS.TXFIFOTRG will be set when the TX FIFO has reached the trigger level AND the state machine is in the TXMODE as defined in the SSR register. When cleared RIS.TXFIFOTRG will be set when the TX FIFO is at or above the trigger level. This setting can be used to hold off the TX DMA until a transaction starts. This allows the DMA to be configured when the I2CT is idle but have it wait till the transaction starts to load the TX FIFO, so it can load from a memory buffer that might be changing over time.

function DL_I2CT_disableTXWaitWhenTXFIFOStale

__STATIC_INLINE void DL_I2CT_disableTXWaitWhenTXFIFOStale(
    DL_UNICOMM_Inst_Regs * unicomm
)

Disable TX transfer waits when stale data in TX FIFO.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

When disabled, the TX FIFO empty signal to the state machine indicates that the TX FIFO is empty.

function DL_I2CT_isTXWaitWhenTXFIFOStaleEnabled

__STATIC_INLINE bool DL_I2CT_isTXWaitWhenTXFIFOStaleEnabled(
    DL_UNICOMM_Inst_Regs * unicomm
)

Checks if TX transfer waits when stale data in TX FIFO is enabled.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • true if TX transfer waits when stale data in TX FIFO is enabled

  • false if TX transfer waits when stale data in TX FIFO is disabled

Return: If TX transfer waits when stale data in TX FIFO is enabled

function DL_I2CT_enableTXWaitWhenTXFIFOStale

__STATIC_INLINE void DL_I2CT_enableTXWaitWhenTXFIFOStale(
    DL_UNICOMM_Inst_Regs * unicomm
)

Enable TX transfer waits when stale data in TX FIFO.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

When enabled, the TX FIFO empty signal to the state machine will indicate that the TX FIFO is empty or that the TX FIFO data is stale. The TX FIFO data is determined to be stale when there is data in the TX FIFO when the state machine leaves the TXMODE as defined in the SSR register. This can occur is a Stop or timeout occur when there are bytes left in the TX FIFO.

function DL_I2CT_disableRXFullOnRXRequest

__STATIC_INLINE void DL_I2CT_disableRXFullOnRXRequest(
    DL_UNICOMM_Inst_Regs * unicomm
)

Disable RX full interrupt on receive request.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

See: DL_I2CT_isClockStretchEnabled

When disabled, RIS.SRXFULL will be set when only the RX FIFO is full. This allows the SRXFULL interrupt to be used to indicate that the I2CT bus is being clock stretched and that the FW must either read the RX FIFO or ACK/NACK the current RX byte.

function DL_I2CT_isRXFullOnRXRequestEnabled

__STATIC_INLINE bool DL_I2CT_isRXFullOnRXRequestEnabled(
    DL_UNICOMM_Inst_Regs * unicomm
)

Checks if RX full interrupt on receive request is enabled.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • true if RX full interrupt on receive request enabled

  • false if RX full interrupt on receive request disabled

Return: If RX full interrupt on receive request enabled

function DL_I2CT_enableRXFullOnRXRequest

__STATIC_INLINE void DL_I2CT_enableRXFullOnRXRequest(
    DL_UNICOMM_Inst_Regs * unicomm
)

Enable RX full interrupt on receive request.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

When enabled, RIS.SRXFULL will be set when the state machine is in the RX_WAIT or RX_ACK_WAIT states which occurs when the I2CT transaction is clock stretched because the RX FIFO is full or the ACKOEN has been set and the state machine is waiting for FW to ACK/NACK the current byte.

function DL_I2CT_disableDefaultHostAddress

__STATIC_INLINE void DL_I2CT_disableDefaultHostAddress(
    DL_UNICOMM_Inst_Regs * unicomm
)

Disable SMBus/PMBus default host address of 000 1000b.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

When disabled, the default host address is not matched. NOTE: The host address may still be matched if programmed as an own address. The I2CT module can still be addressed as a if enabled and own address match is enabled.

function DL_I2CT_isDefaultHostAddressEnabled

__STATIC_INLINE bool DL_I2CT_isDefaultHostAddressEnabled(
    DL_UNICOMM_Inst_Regs * unicomm
)

Checks if SMBus/PMBus default host address of 000 1000b is enabled.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • true if default host address is enabled

  • false if default host address disabled

Return: If default host address is enabled

function DL_I2CT_enableDefaultHostAddress

__STATIC_INLINE void DL_I2CT_enableDefaultHostAddress(
    DL_UNICOMM_Inst_Regs * unicomm
)

Enable SMBus/PMBus default host address of 000 1000b.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

When enabled, default host address of 0x0001000 is always matched by the address match logic

function DL_I2CT_disableAlertResponseAddress

__STATIC_INLINE void DL_I2CT_disableAlertResponseAddress(
    DL_UNICOMM_Inst_Regs * unicomm
)

Disable SMBus/PMBus Alert response address (ARA) of 000 1100b.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

When disabled, the alert response address 0x0001100 is not matched. NOTE: The alert response address may still be matched if programmed as an own address. The I2CT module can still be addressed as a if enabled and own address match is enabled.

function DL_I2CT_isAlertResponseAddressEnabled

__STATIC_INLINE bool DL_I2CT_isAlertResponseAddressEnabled(
    DL_UNICOMM_Inst_Regs * unicomm
)

Checks if SMBus/PMBus Alert response address (ARA) of 000 1100b is enabled.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • true if alert response address is enabled

  • false if alert response address disabled

Return: If alert response address is enabled

function DL_I2CT_enableAlertResponseAddress

__STATIC_INLINE void DL_I2CT_enableAlertResponseAddress(
    DL_UNICOMM_Inst_Regs * unicomm
)

Enable SMBus/PMBus Alert response address (ARA) of 000 1100b.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

When enabled, default alert response address of 0x0001100 is always matched by the address match logic

function DL_I2CT_disableDefaultDeviceAddress

__STATIC_INLINE void DL_I2CT_disableDefaultDeviceAddress(
    DL_UNICOMM_Inst_Regs * unicomm
)

Disable SMBus/PMBus default device address of 110 0001b.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Used for Address Resolution Protocol. When disabled, the default device address is not matched. NOTE: The host address may still be matched if programmed as an own address. The I2CT module can still be addressed as a if enabled and own address match is enabled.

function DL_I2CT_isDefaultDeviceAddressEnabled

__STATIC_INLINE bool DL_I2CT_isDefaultDeviceAddressEnabled(
    DL_UNICOMM_Inst_Regs * unicomm
)

Checks SMBus/PMBus default device address of 110 0001b is enabled.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • true if default device address is enabled

  • false if default device address disabled

Return: If default device address is enabled

function DL_I2CT_enableDefaultDeviceAddress

__STATIC_INLINE void DL_I2CT_enableDefaultDeviceAddress(
    DL_UNICOMM_Inst_Regs * unicomm
)

Enable SMBus/PMBus default device address of 110 0001b.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Used for Address Resolution Protocol. When enabled, default device address of 110 0001b is always matched by the address match logic.

function DL_I2CT_disableWakeup

__STATIC_INLINE void DL_I2CT_disableWakeup(
    DL_UNICOMM_Inst_Regs * unicomm
)

Disable wakeup.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

When disabled, the is not allowed to clock stretch on START detection.

function DL_I2CT_isWakeupEnabled

__STATIC_INLINE bool DL_I2CT_isWakeupEnabled(
    DL_UNICOMM_Inst_Regs * unicomm
)

Checks if wakeup is enabled.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • true if wakeup is enabled

  • false if wakeup disabled

Return: If wakeup is enabled

function DL_I2CT_enableWakeup

__STATIC_INLINE void DL_I2CT_enableWakeup(
    DL_UNICOMM_Inst_Regs * unicomm
)

Enable wakeup.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

See: DL_I2CT_enableClockStretching

Enables low-power wake-up, however it is recommended to enable clock stretching to stretch the clock while the module is waking up.

function DL_I2CT_disable

__STATIC_INLINE void DL_I2CT_disable(
    DL_UNICOMM_Inst_Regs * unicomm
)

Disable target.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

function DL_I2CT_isEnabled

__STATIC_INLINE bool DL_I2CT_isEnabled(
    DL_UNICOMM_Inst_Regs * unicomm
)

Checks if target is enabled.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • true if functionality is enabled

  • false if functionality is disabled

Return: If functionality is enabled

function DL_I2CT_enable

__STATIC_INLINE void DL_I2CT_enable(
    DL_UNICOMM_Inst_Regs * unicomm
)

Enable target.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

function DL_I2CT_disableGeneralCall

__STATIC_INLINE void DL_I2CT_disableGeneralCall(
    DL_UNICOMM_Inst_Regs * unicomm
)

Disable general call address of 000 0000b.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

function DL_I2CT_isGeneralCallEnabled

__STATIC_INLINE bool DL_I2CT_isGeneralCallEnabled(
    DL_UNICOMM_Inst_Regs * unicomm
)

Checks if general call address of 000 0000b is enabled.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • true if general call is enabled

  • false if general call is disabled

Return: If general call is enabled

function DL_I2CT_enableGeneralCall

__STATIC_INLINE void DL_I2CT_enableGeneralCall(
    DL_UNICOMM_Inst_Regs * unicomm
)

Enable usage of general call address of 000 0000b.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

function DL_I2CT_getStatus

__STATIC_INLINE uint32_t DL_I2CT_getStatus(
    DL_UNICOMM_Inst_Regs * unicomm
)

Get status of I2CT bus controller for.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • Bitwise OR of [DL_I2CT_STATUS]

Return: Status of I2CT bus controller for

function DL_I2CT_receiveData

__STATIC_INLINE uint8_t DL_I2CT_receiveData(
    DL_UNICOMM_Inst_Regs * unicomm
)

Get byte of data from UNICOMMI2CT.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • [0x000xff]

Return: Last received byte of data

If using FIFO, it is first byte from the RX FIFO.

function DL_I2CT_transmitData

__STATIC_INLINE void DL_I2CT_transmitData(
    DL_UNICOMM_Inst_Regs * unicomm,
    uint8_t data
)

Set next byte to be transferred during the next transaction.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

  • data Byte of data to be transferred during the next transaction. [0x00, 0xff]

function DL_I2CT_disableACKOverride

__STATIC_INLINE void DL_I2CT_disableACKOverride(
    DL_UNICOMM_Inst_Regs * unicomm
)

Disable ACK override.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Disable manual ACK override to automatically ACK all received bytes until the RX FIFO is full.

function DL_I2CT_isACKOverrideEnabled

__STATIC_INLINE bool DL_I2CT_isACKOverrideEnabled(
    DL_UNICOMM_Inst_Regs * unicomm
)

Checks if ACK override is enabled.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • true if ACK override is enabled

  • false if ACK override is disabled

Return: If ACK override is enabled

function DL_I2CT_enableACKOverride

__STATIC_INLINE void DL_I2CT_enableACKOverride(
    DL_UNICOMM_Inst_Regs * unicomm
)

Enable ACK override.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

When manual ACK override is enabled, the I2CT SCL is pulled low after the last data is received until the ACK override value (through DL_I2CT_setACKOverrideValue) is written. Disable manual ACK override to automatically ACK all received bytes until the RX FIFO is full.

function DL_I2CT_getACKOverrideValue

__STATIC_INLINE DL_I2CT_RESPONSE_OVERRIDE_VALUE DL_I2CT_getACKOverrideValue(
    DL_UNICOMM_Inst_Regs * unicomm
)

Get acknowledge override value.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

Return: What type of response will be generated

Note: for General Call this bit will be ignored if set to NACK and continues to receive data.

function DL_I2CT_setACKOverrideValue

__STATIC_INLINE void DL_I2CT_setACKOverrideValue(
    DL_UNICOMM_Inst_Regs * unicomm,
    DL_I2CT_RESPONSE_OVERRIDE_VALUE value
)

Set acknowledge override value.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

  • value Indicates what type of response will be generated. One of DL_I2CT_RESPONSE_OVERRIDE_VALUE.

See: DL_I2CT_enableACKOverride

Note: for General Call this bit will be ignored if set to NACK and continues to receive data.

function DL_I2CT_disableACKOverrideOnStart

__STATIC_INLINE void DL_I2CT_disableACKOverrideOnStart(
    DL_UNICOMM_Inst_Regs * unicomm
)

Disable ACK override on Start Condition.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

function DL_I2CT_isACKOverrideOnStartEnabled

__STATIC_INLINE bool DL_I2CT_isACKOverrideOnStartEnabled(
    DL_UNICOMM_Inst_Regs * unicomm
)

Checks if ACK override on Start condition is enabled.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • true if ACK override on Start condition is enabled

  • false if ACK override on Start condition is disabled

Return: If ACK override on Start condition is enabled

function DL_I2CT_enableACKOverrideOnStart

__STATIC_INLINE void DL_I2CT_enableACKOverrideOnStart(
    DL_UNICOMM_Inst_Regs * unicomm
)

Enable ACK override on Start condition.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

See: DL_I2CT_enableACKOverride

When enabled, this bit will automatically turn on the ACKOEN field following a Start condition.

function DL_I2CT_disableACKOverrideOnPECNext

__STATIC_INLINE void DL_I2CT_disableACKOverrideOnPECNext(
    DL_UNICOMM_Inst_Regs * unicomm
)

Disable ACK override when SMBus/PMBus PEC is next byte.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

function DL_I2CT_isACKOverrideOnPECNextEnabled

__STATIC_INLINE bool DL_I2CT_isACKOverrideOnPECNextEnabled(
    DL_UNICOMM_Inst_Regs * unicomm
)

Checks if ACK override when SMBus/PMBus PEC is next byte is enabled.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • true if ACK override when PEC is next byte is enabled

  • false if ACK override when PEC is next byte is disabled

Return: If ACK override when PEC is next byte is enabled

function DL_I2CT_enableACKOverrideOnPECNext

__STATIC_INLINE void DL_I2CT_enableACKOverrideOnPECNext(
    DL_UNICOMM_Inst_Regs * unicomm
)

Enable ACK override when SMBus/PMBus PEC is next byte.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

See: DL_I2CT_enableACKOverride

When enabled, this bit will automatically turn on the ACKOEN field following the ACK/NACK of the byte received just prior to the PEC byte. Note that when ACKOEN is set, the PEC byte will not automatically be ACKed/NACKed by the state machine and FW must perform this function by writing SLAVE_SACKCTL.

function DL_I2CT_disableACKOverrideOnPECDone

__STATIC_INLINE void DL_I2CT_disableACKOverrideOnPECDone(
    DL_UNICOMM_Inst_Regs * unicomm
)

Disable ACK override when SMBus/PMBus PEC is next byte.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

function DL_I2CT_isACKOverrideOnPECDoneEnabled

__STATIC_INLINE bool DL_I2CT_isACKOverrideOnPECDoneEnabled(
    DL_UNICOMM_Inst_Regs * unicomm
)

Checks if ACK override when SMBus/PMBus PEC is next byte is enabled.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • true if ACK override when PEC is next byte is enabled

  • false if ACK override when PEC is next byte is disabled

Return: If ACK override when PEC is next byte is enabled

function DL_I2CT_enableACKOverrideOnPECDone

__STATIC_INLINE void DL_I2CT_enableACKOverrideOnPECDone(
    DL_UNICOMM_Inst_Regs * unicomm
)

Enable ACK override when SMBus/PMBus PEC is done.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

See: DL_I2CT_enableACKOverride

When enabled, this bit will automatically turn on the ACKOEN field following the ACK/NACK of the received PEC byte.

function DL_I2CT_getPECCountValue

__STATIC_INLINE uint32_t DL_I2CT_getPECCountValue(
    DL_UNICOMM_Inst_Regs * unicomm
)

Get the SMBus/PMBus Packet Error Checking (PEC) count value.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • Value between [0x0, 0x01FF]

Return: The value the PEC count is set to

function DL_I2CT_setPECCountValue

__STATIC_INLINE void DL_I2CT_setPECCountValue(
    DL_UNICOMM_Inst_Regs * unicomm,
    uint32_t count
)

Set the SMBus/PMBus Packet Error Checking (PEC) count value.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

  • count The value to set the PEC count to. Value between [0x0, 0x01FF]

When this field is non zero, the number of I2CT data bytes are counted. Refer to the device TRM for more details.

function DL_I2CT_disablePEC

__STATIC_INLINE void DL_I2CT_disablePEC(
    DL_UNICOMM_Inst_Regs * unicomm
)

Disable SMBus/PMBus Packet Error Checking (PEC)

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

function DL_I2CT_isPECEnabled

__STATIC_INLINE bool DL_I2CT_isPECEnabled(
    DL_UNICOMM_Inst_Regs * unicomm
)

Checks if SMBus/PMBus Packet Error Checking (PEC) is enabled.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • true if PEC is enabled

  • false if PEC is disabled

Return: If PEC is enabled

function DL_I2CT_enablePEC

__STATIC_INLINE void DL_I2CT_enablePEC(
    DL_UNICOMM_Inst_Regs * unicomm
)

Enable SMBus/PMBus Packet Error Checking (PEC)

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

When enabled, the PEC is calculated on all bits accept the Start, Stop, ACK and NACK. The PEC LSFR and the Byte Counter is set to 0 when the State Machine is in the IDLE state, which occurs following a Stop or when a timeout occurs. The Counter is also set to 0 after the PEC byte is sent or received. Note that the NACK is automatically sent following a PEC byte that results in a PEC error. The PEC Polynomial is x^8 + x^2 + x^1 + 1.

function DL_I2CT_getCurrentPECCount

__STATIC_INLINE uint32_t DL_I2CT_getCurrentPECCount(
    DL_UNICOMM_Inst_Regs * unicomm
)

Get the current SMBus/PMBus PEC byte count of the state machine.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • Value between [0x0, 0x01FF]

Return: The current PEC byte count of the state macione

function DL_I2CT_getPECCheckedStatus

__STATIC_INLINE DL_I2CT_PEC_STATUS DL_I2CT_getPECCheckedStatus(
    DL_UNICOMM_Inst_Regs * unicomm
)

Get status if SMBus/PMBus PEC was checked in last transaction.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

Return: Status of PEC checked

The status indicates if the PEC was checked in the transaction that occurred before the last Stop. Latched on Stop.

function DL_I2CT_getPECCheckError

__STATIC_INLINE DL_I2CT_PEC_CHECK_ERROR DL_I2CT_getPECCheckError(
    DL_UNICOMM_Inst_Regs * unicomm
)

Get status if SMBus/PMBus PEC had an error.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

Return: Status of PEC error check

The status indicates if a PEC check error occurred in the transaction that occurred before the last Stop. Latched on Stop.

function DL_I2CT_getTXFIFOThreshold

__STATIC_INLINE DL_I2CT_TX_FIFO_LEVEL DL_I2CT_getTXFIFOThreshold(
    DL_UNICOMM_Inst_Regs * unicomm
)

Get TX FIFO threshold level.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

Return: Indicates at what fill level in the TX FIFO a threshold will be generated

function DL_I2CT_setTXFIFOThreshold

__STATIC_INLINE void DL_I2CT_setTXFIFOThreshold(
    DL_UNICOMM_Inst_Regs * unicomm,
    DL_I2CT_TX_FIFO_LEVEL level
)

Set TX FIFO threshold level.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

  • level Indicates at what fill level in the TX FIFO a threshold will be generated. One of DL_I2CT_TX_FIFO_LEVEL.

function DL_I2CT_stopFlushTXFIFO

__STATIC_INLINE void DL_I2CT_stopFlushTXFIFO(
    DL_UNICOMM_Inst_Regs * unicomm
)

Stop Target TX FIFO flush.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Before stopping the flush, check if DL_I2C_isTargetTXFIFOEmpty, indicating flush is complete.

function DL_I2CT_startFlushTXFIFO

__STATIC_INLINE void DL_I2CT_startFlushTXFIFO(
    DL_UNICOMM_Inst_Regs * unicomm
)

Start Target TX FIFO flush.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

function DL_I2CT_getRXFIFOThreshold

__STATIC_INLINE DL_I2CT_RX_FIFO_LEVEL DL_I2CT_getRXFIFOThreshold(
    DL_UNICOMM_Inst_Regs * unicomm
)

Get RX FIFO threshold level.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

Return: Indicates at what fill level in the RX FIFO a threshold will be generated

function DL_I2CT_setRXFIFOThreshold

__STATIC_INLINE void DL_I2CT_setRXFIFOThreshold(
    DL_UNICOMM_Inst_Regs * unicomm,
    DL_I2CT_RX_FIFO_LEVEL level
)

Set RX FIFO threshold level.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

  • level Indicates at what fill level in the RX FIFO a threshold will be generated. One of DL_I2CT_RX_FIFO_LEVEL.

function DL_I2CT_stopFlushRXFIFO

__STATIC_INLINE void DL_I2CT_stopFlushRXFIFO(
    DL_UNICOMM_Inst_Regs * unicomm
)

Stop target RX FIFO flush.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Before stopping the flush, check if DL_I2C_isTargetRXFIFOEmpty, indicating flush is complete.

function DL_I2CT_startFlushRXFIFO

__STATIC_INLINE void DL_I2CT_startFlushRXFIFO(
    DL_UNICOMM_Inst_Regs * unicomm
)

Start target RX FIFO flush.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

function DL_I2CT_isRXFIFOFlushActive

__STATIC_INLINE bool DL_I2CT_isRXFIFOFlushActive(
    DL_UNICOMM_Inst_Regs * unicomm
)

Checks if target RX FIFO flush is active.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • true if target RX FIFO flush is active

  • false if target RX FIFO flush is not active

Return: If target RX FIFO flush is active

function DL_I2CT_isTXFIFOFlushActive

__STATIC_INLINE bool DL_I2CT_isTXFIFOFlushActive(
    DL_UNICOMM_Inst_Regs * unicomm
)

Checks if target TX FIFO flush is active.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • true if target TX FIFO flush is active

  • false if target TX FIFO flush is not active

Return: If target TX FIFO flush is active

function DL_I2CT_enableInterrupt

__STATIC_INLINE void DL_I2CT_enableInterrupt(
    DL_UNICOMM_Inst_Regs * unicomm,
    uint32_t interruptMask
)

Enable I2CT interrupts.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

  • interruptMask Bit mask of interrupts to enable. Bitwise OR of [DL_I2CT_INTERRUPT].

function DL_I2CT_disableInterrupt

__STATIC_INLINE void DL_I2CT_disableInterrupt(
    DL_UNICOMM_Inst_Regs * unicomm,
    uint32_t interruptMask
)

Disable I2CT interrupts.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

  • interruptMask Bit mask of interrupts to disable. Bitwise OR of [DL_I2CT_INTERRUPT].

function DL_I2CT_getEnabledInterrupts

__STATIC_INLINE uint32_t DL_I2CT_getEnabledInterrupts(
    DL_UNICOMM_Inst_Regs * unicomm,
    uint32_t interruptMask
)

Check which I2CT interrupts are enabled.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

  • interruptMask Bit mask of interrupts to check. Bitwise OR of [DL_I2CT_INTERRUPT].

Returns:

  • Bitwise OR of [DL_I2CT_INTERRUPT] values

Return: Which of the requested I2CT interrupts are enabled

function DL_I2CT_getEnabledInterruptStatus

__STATIC_INLINE uint32_t DL_I2CT_getEnabledInterruptStatus(
    DL_UNICOMM_Inst_Regs * unicomm,
    uint32_t interruptMask
)

Check interrupt flag of enabled I2CT interrupts.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

  • interruptMask Bit mask of interrupts to check. Bitwise OR of [DL_I2CT_INTERRUPT].

Returns:

  • Bitwise OR of [DL_I2CT_INTERRUPT] values

See: DL_I2CT_enableInterrupt

Return: Which of the requested I2CT interrupts are pending

Checks if any of the I2CT interrupts that were previously enabled are pending.

function DL_I2CT_getRawInterruptStatus

__STATIC_INLINE uint32_t DL_I2CT_getRawInterruptStatus(
    DL_UNICOMM_Inst_Regs * unicomm,
    uint32_t interruptMask
)

Check interrupt flag of any I2CT interrupt.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

  • interruptMask Bit mask of interrupts to check. Bitwise OR of [DL_I2CT_INTERRUPT].

Returns:

  • Bitwise OR of [DL_I2CT_INTERRUPT] values

Return: Which of the requested I2CT interrupts are pending

Checks if any of the I2CT interrupts are pending. Interrupts do not have to be previously enabled.

function DL_I2CT_getPendingInterrupt

__STATIC_INLINE DL_I2CT_IIDX DL_I2CT_getPendingInterrupt(
    DL_UNICOMM_Inst_Regs * unicomm
)

Get highest priority pending I2CT interrupt.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

Return: The highest priority pending I2CT interrupt

Checks if any of the I2CT interrupts are pending. Interrupts do not have to be previously enabled.

function DL_I2CT_clearInterruptStatus

__STATIC_INLINE void DL_I2CT_clearInterruptStatus(
    DL_UNICOMM_Inst_Regs * unicomm,
    uint32_t interruptMask
)

Clear pending I2CT interrupts.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

  • interruptMask Bit mask of interrupts to clear. Bitwise OR of [DL_I2CT_INTERRUPT].

function DL_I2CT_enableDMAEvent

__STATIC_INLINE void DL_I2CT_enableDMAEvent(
    DL_UNICOMM_Inst_Regs * unicomm,
    DL_I2CT_EVENT_ROUTE index,
    uint32_t interrupt
)

Enables I2CT interrupt for triggering DMA events.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

  • index Specifies the register event publisher to configure

  • interrupt Interrupt to enable as the trigger condition for the DMA. One of [DL_I2CT_DMA_INTERRUPT].

Note: Only one interrupt source should be enabled at a time.

Enables the I2CT interrupt to be used as the condition to generate an event to directly trigger the DMA.

Each event publisher DL_I2CT_EVENT_ROUTE can set any one of [DL_I2CT_DMA_INTERRUPT].

function DL_I2CT_disableDMAEvent

__STATIC_INLINE void DL_I2CT_disableDMAEvent(
    DL_UNICOMM_Inst_Regs * unicomm,
    DL_I2CT_EVENT_ROUTE index,
    uint32_t interrupt
)

Disables I2CT interrupt from triggering DMA events.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

  • index Specifies the register event publisher to configure

  • interrupt Interrupt to disable as the trigger condition for the DMA. One of [DL_I2CT_DMA_INTERRUPT].

Disables the I2CT interrupt from being used as the condition to generate an event to directly trigger the DMA.

Each event publisher DL_I2CT_EVENT_ROUTE can set any one of [DL_I2CT_DMA_INTERRUPT].

function DL_I2CT_getEnabledDMAEvents

__STATIC_INLINE uint32_t DL_I2CT_getEnabledDMAEvents(
    DL_UNICOMM_Inst_Regs * unicomm,
    DL_I2CT_EVENT_ROUTE index,
    uint32_t interruptMask
)

Check which I2CT interrupt for DMA receive events is enabled.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

  • index Specifies the register event publisher to configure

  • interruptMask Bit mask of interrupts to check. Bitwise OR of [DL_I2CT_DMA_INTERRUPT].

Returns:

  • One of [DL_I2CT_DMA_INTERRUPT]

Return: The requested I2CT interrupt status

Note: Only one interrupt source should be enabled at a time.

This API checks the event publisher register as selected by DL_I2CT_EVENT_ROUTE, which are used for triggering the DMA for Controller or and receive or transmit events.

function DL_I2CT_getEnabledDMAEventStatus

__STATIC_INLINE uint32_t DL_I2CT_getEnabledDMAEventStatus(
    DL_UNICOMM_Inst_Regs * unicomm,
    DL_I2CT_EVENT_ROUTE index,
    uint32_t interruptMask
)

Check interrupt flag of enabled I2CT interrupt for DMA event.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

  • index Specifies the register event publisher to configure

  • interruptMask Bit mask of interrupts to check. Bitwise OR of [DL_I2CT_DMA_INTERRUPT].

Returns:

  • One of [DL_I2CT_DMA_INTERRUPT]

See: DL_I2CT_enableDMAEvent

Return: The requested I2CT interrupt status

Note: Only one interrupt source should be enabled at a time.

Checks if any of the I2CT interrupts for the DMA receive event that were previously enabled are pending. This API checks the event publisher register as selected by DL_I2CT_EVENT_ROUTE, which are used for triggering the DMA for Controller or and receive or transmit events.

function DL_I2CT_getRawDMAEventStatus

__STATIC_INLINE uint32_t DL_I2CT_getRawDMAEventStatus(
    DL_UNICOMM_Inst_Regs * unicomm,
    DL_I2CT_EVENT_ROUTE index,
    uint32_t interruptMask
)

Check interrupt flag of any I2CT interrupt for DMA event.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

  • index Specifies the register event publisher to configure

  • interruptMask Bit mask of interrupts to check. Bitwise OR of [DL_I2CT_DMA_INTERRUPT].

Returns:

  • Bitwise OR of [DL_I2CT_DMA_INTERRUPT] values

Return: Which of the requested I2CT interrupts are pending

Checks if any of the I2CT interrupts for DMA receive event are pending. Interrupts do not have to be previously enabled. This API checks the event publisher register as selected by DL_I2CT_EVENT_ROUTE, which are used for triggering the DMA for Controller or and receive or transmit events.

function DL_I2CT_getTimeoutACount

__STATIC_INLINE uint32_t DL_I2CT_getTimeoutACount(
    DL_UNICOMM_Inst_Regs * unicomm
)

Get the Timeout Counter A value.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • Value between [0x0, 0xFF]

Return: The Timeout A counter value

function DL_I2CT_setTimeoutACount

__STATIC_INLINE void DL_I2CT_setTimeoutACount(
    DL_UNICOMM_Inst_Regs * unicomm,
    uint32_t count
)

Set the Timeout Counter A value.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

  • count The value to set the Timeout A counter to. Value between [0x0, 0xFF]

Timeout A is used for SCL low detection. This field contains the upper 8 bits of a 12-bit pre-load value for the Timeout A count. NOTE: The value of the counter must be greater than 1 to enable the timeout. Each count is equal to 520 times the timeout period of the functional clock. For example, with 8MHz functional clock and a 100KHz operating I2CT clock, one timeout period will be equal to (1 / 8MHz) * 520 = 65us.

function DL_I2CT_disableTimeoutA

__STATIC_INLINE void DL_I2CT_disableTimeoutA(
    DL_UNICOMM_Inst_Regs * unicomm
)

Disable Timeout Counter A.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

function DL_I2CT_isTimeoutAEnabled

__STATIC_INLINE bool DL_I2CT_isTimeoutAEnabled(
    DL_UNICOMM_Inst_Regs * unicomm
)

Checks if Timeout Counter A is enabled.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • true if Timeout Counter A is enabled

  • false if Timeout Counter A is disabled

Return: If Timeout Counter A is enabled

function DL_I2CT_enableTimeoutA

__STATIC_INLINE void DL_I2CT_enableTimeoutA(
    DL_UNICOMM_Inst_Regs * unicomm
)

Enable Timeout Counter A.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

function DL_I2CT_getCurrentTimeoutACounter

__STATIC_INLINE uint32_t DL_I2CT_getCurrentTimeoutACounter(
    DL_UNICOMM_Inst_Regs * unicomm
)

Get the current Timer Counter A value.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • Value between [0x0, 0xFF]

Return: The Timeout A counter value

This field contains the upper 8 bits of a 12-bit current counter for Timeout Counter A.

function DL_I2CT_getTimeoutBCount

__STATIC_INLINE uint32_t DL_I2CT_getTimeoutBCount(
    DL_UNICOMM_Inst_Regs * unicomm
)

Get the Timeout Counter B value.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • Value between [0x0, 0xFF]

Return: The Timeout B counter value

function DL_I2CT_setTimeoutBCount

__STATIC_INLINE void DL_I2CT_setTimeoutBCount(
    DL_UNICOMM_Inst_Regs * unicomm,
    uint32_t count
)

Set the Timeout Counter B value.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

  • count The value to set the Timeout A counter to. Value between [0x0, 0xFF]

Timeout B is used for SCL high detection. This field contains the upper 8 bits of a 12-bit pre-load value for the Timeout A count. NOTE: The value of the counter must be greater than 1 to enable the timeout. Each count is equal to 1* clock period. For example, with 10MHz functional clock one timeout period will be equal to 1 * 10ns.

function DL_I2CT_disableTimeoutB

__STATIC_INLINE void DL_I2CT_disableTimeoutB(
    DL_UNICOMM_Inst_Regs * unicomm
)

Disable Timeout Counter B.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

function DL_I2CT_isTimeoutBEnabled

__STATIC_INLINE bool DL_I2CT_isTimeoutBEnabled(
    DL_UNICOMM_Inst_Regs * unicomm
)

Checks if Timeout Counter B is enabled.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • true if Timeout Counter B is enabled

  • false if Timeout Counter B is disabled

Return: If Timeout Counter B is enabled

function DL_I2CT_enableTimeoutB

__STATIC_INLINE void DL_I2CT_enableTimeoutB(
    DL_UNICOMM_Inst_Regs * unicomm
)

Enable Timeout Counter B.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

function DL_I2CT_getCurrentTimeoutBCounter

__STATIC_INLINE uint32_t DL_I2CT_getCurrentTimeoutBCounter(
    DL_UNICOMM_Inst_Regs * unicomm
)

Get the current Timer Counter B value.

Parameters:

  • unicomm Pointer to the register overlay for the peripheral

Returns:

  • Value between [0x0, 0xFF]

Return: The Timeout B counter value

This field contains the upper 8 bits of a 12-bit current counter for Timeout Counter B.

Macros Documentation

define DL_I2C_TARGET_STATUS_ADDRESS_MATCH

#define DL_I2C_TARGET_STATUS_ADDRESS_MATCH DL_I2CT_STATUS_ADDRESS_MATCH

Redirects to DL_I2CT_STATUS_ADDRESS_MATCH

define DL_I2C_TARGET_STATUS_STALE_TX_FIFO

#define DL_I2C_TARGET_STATUS_STALE_TX_FIFO DL_I2CT_STATUS_STALE_TX_FIFO

Redirects to DL_I2CT_STATUS_STALE_TX_FIFO

define DL_I2C_TARGET_STATUS_TX_MODE

#define DL_I2C_TARGET_STATUS_TX_MODE DL_I2CT_STATUS_TX_MODE

Redirects to DL_I2CT_STATUS_TX_MODE

define DL_I2C_TARGET_STATUS_BUS_BUSY

#define DL_I2C_TARGET_STATUS_BUS_BUSY DL_I2CT_STATUS_BUS_BUSY

Redirects to DL_I2CT_STATUS_BUS_BUSY

define DL_I2C_TARGET_STATUS_RX_MODE

#define DL_I2C_TARGET_STATUS_RX_MODE DL_I2CT_STATUS_RX_MODE

Redirects to DL_I2CT_STATUS_RX_MODE

define DL_I2C_TARGET_STATUS_QUICK_COMMAND_READ_WRITE

#define DL_I2C_TARGET_STATUS_QUICK_COMMAND_READ_WRITE DL_I2CT_STATUS_QUICK_COMMAND_READ_WRITE

Redirects to DL_I2CT_STATUS_QUICK_COMMAND_READ_WRITE

define DL_I2C_TARGET_STATUS_QUICK_COMMAND_STATUS

#define DL_I2C_TARGET_STATUS_QUICK_COMMAND_STATUS DL_I2CT_STATUS_QUICK_COMMAND_STATUS

Redirects to DL_I2CT_STATUS_QUICK_COMMAND_STATUS

define DL_I2C_TARGET_STATUS_OWN_ADDR_ALTERNATE_MATCHED

#define DL_I2C_TARGET_STATUS_OWN_ADDR_ALTERNATE_MATCHED DL_I2CT_STATUS_OWN_ADDR_ALTERNATE_MATCHED

Redirects to DL_I2CT_STATUS_OWN_ADDR_ALTERNATE_MATCHED

define DL_I2C_TARGET_STATUS_TRANSMIT_REQUEST

#define DL_I2C_TARGET_STATUS_TRANSMIT_REQUEST DL_I2CT_STATUS_TRANSMIT_REQUEST

Redirects to DL_I2CT_STATUS_TRANSMIT_REQUEST

define DL_I2C_TARGET_STATUS_RECEIVE_REQUEST

#define DL_I2C_TARGET_STATUS_RECEIVE_REQUEST DL_I2CT_STATUS_RECEIVE_REQUEST

Redirects to DL_I2CT_STATUS_RECEIVE_REQUEST

define DL_I2C_INTERRUPT_TARGET_RX_DONE

#define DL_I2C_INTERRUPT_TARGET_RX_DONE DL_I2CT_INTERRUPT_RX_DONE

Redirects to DL_I2CT_INTERRUPT_RX_DONE

define DL_I2C_INTERRUPT_TARGET_TX_DONE

#define DL_I2C_INTERRUPT_TARGET_TX_DONE DL_I2CT_INTERRUPT_TX_DONE

Redirects to DL_I2CT_INTERRUPT_TX_DONE

define DL_I2C_INTERRUPT_TARGET_STOP

#define DL_I2C_INTERRUPT_TARGET_STOP DL_I2CT_INTERRUPT_STOP

Redirects to DL_I2CT_INTERRUPT_STOP

define DL_I2C_TARGET_ADDRESSING_MODE

#define DL_I2C_TARGET_ADDRESSING_MODE DL_I2CT_ADDRESSING_MODE

Redirects to DL_I2CT_ADDRESSING_MODE

define DL_I2C_TARGET_RESPONSE_OVERRIDE_VALUE

#define DL_I2C_TARGET_RESPONSE_OVERRIDE_VALUE DL_I2CT_RESPONSE_OVERRIDE_VALUE

Redirects to DL_I2CT_RESPONSE_OVERRIDE_VALUE

define DL_I2C_TARGET_PEC_STATUS

#define DL_I2C_TARGET_PEC_STATUS DL_I2CT_PEC_STATUS

Redirects to DL_I2CT_PEC_STATUS

define DL_I2C_TARGET_PEC_CHECK_ERROR

#define DL_I2C_TARGET_PEC_CHECK_ERROR DL_I2CT_PEC_CHECK_ERROR

Redirects to DL_I2CT_PEC_CHECK_ERROR

define DL_I2C_INTERRUPT_TARGET_RXFIFO_TRIGGER

#define DL_I2C_INTERRUPT_TARGET_RXFIFO_TRIGGER DL_I2CT_INTERRUPT_RXFIFO_TRIGGER

Redirects to DL_I2CT_INTERRUPT_RXFIFO_TRIGGER

define DL_I2C_DMA_INTERRUPT_TARGET_RXFIFO_TRIGGER

#define DL_I2C_DMA_INTERRUPT_TARGET_RXFIFO_TRIGGER DL_I2CT_DMA_INTERRUPT_RXFIFO_TRIGGER

Redirects to DL_I2CT_DMA_INTERRUPT_RXFIFO_TRIGGER

define DL_I2C_INTERRUPT_TARGET_TXFIFO_TRIGGER

#define DL_I2C_INTERRUPT_TARGET_TXFIFO_TRIGGER DL_I2CT_INTERRUPT_TXFIFO_TRIGGER

Redirects to DL_I2CT_INTERRUPT_TXFIFO_TRIGGER

define DL_I2C_INTERRUPT_TARGET_RXFIFO_FULL

#define DL_I2C_INTERRUPT_TARGET_RXFIFO_FULL DL_I2CT_INTERRUPT_RXFIFO_FULL

Redirects to DL_I2CT_INTERRUPT_RXFIFO_FULL

define DL_I2C_INTERRUPT_TARGET_TXFIFO_EMPTY

#define DL_I2C_INTERRUPT_TARGET_TXFIFO_EMPTY DL_I2CT_INTERRUPT_TXFIFO_EMPTY

Redirects to DL_I2CT_INTERRUPT_TXFIFO_EMPTY

define DL_I2C_INTERRUPT_TARGET_START

#define DL_I2C_INTERRUPT_TARGET_START DL_I2CT_INTERRUPT_START

Redirects to DL_I2CT_INTERRUPT_START

define DL_I2C_INTERRUPT_TARGET_GENERAL_CALL

#define DL_I2C_INTERRUPT_TARGET_GENERAL_CALL DL_I2CT_INTERRUPT_GENERAL_CALL

Redirects to DL_I2CT_INTERRUPT_GENERAL_CALL

define DL_I2C_INTERRUPT_TARGET_EVENT1_DMA_DONE

#define DL_I2C_INTERRUPT_TARGET_EVENT1_DMA_DONE DL_I2CT_INTERRUPT_EVENT1_DMA_DONE

Redirects to DL_I2CT_INTERRUPT_EVENT1_DMA_DONE

define DL_I2C_INTERRUPT_TARGET_EVENT2_DMA_DONE

#define DL_I2C_INTERRUPT_TARGET_EVENT2_DMA_DONE DL_I2CT_INTERRUPT_EVENT2_DMA_DONE

Redirects to DL_I2CT_INTERRUPT_EVENT2_DMA_DONE

define DL_I2C_INTERRUPT_TARGET_PEC_RX_ERROR

#define DL_I2C_INTERRUPT_TARGET_PEC_RX_ERROR DL_I2CT_INTERRUPT_PEC_RX_ERROR

Redirects to DL_I2CT_INTERRUPT_PEC_RX_ERROR

define DL_I2C_INTERRUPT_TARGET_TXFIFO_UNDERFLOW

#define DL_I2C_INTERRUPT_TARGET_TXFIFO_UNDERFLOW DL_I2CT_INTERRUPT_TXFIFO_UNDERFLOW

Redirects to DL_I2CT_INTERRUPT_TXFIFO_UNDERFLOW

define DL_I2C_INTERRUPT_TARGET_RXFIFO_OVERFLOW

#define DL_I2C_INTERRUPT_TARGET_RXFIFO_OVERFLOW DL_I2CT_INTERRUPT_RXFIFO_OVERFLOW

Redirects to DL_I2CT_INTERRUPT_RXFIFO_OVERFLOW

define DL_I2C_INTERRUPT_TARGET_ARBITRATION_LOST

#define DL_I2C_INTERRUPT_TARGET_ARBITRATION_LOST DL_I2CT_INTERRUPT_ARBITRATION_LOST

Redirects to DL_I2CT_INTERRUPT_ARBITRATION_LOST

define DL_I2C_DMA_INTERRUPT_TARGET_TXFIFO_TRIGGER

#define DL_I2C_DMA_INTERRUPT_TARGET_TXFIFO_TRIGGER DL_I2CT_DMA_INTERRUPT_TXFIFO_TRIGGER

Redirects to DL_I2CT_DMA_INTERRUPT_TXFIFO_TRIGGER

define DL_I2C_TARGET_ADDRESSING_MODE_7_BIT

#define DL_I2C_TARGET_ADDRESSING_MODE_7_BIT DL_I2CT_ADDRESSING_MODE_7_BIT

Redirects to DL_I2CT_ADDRESSING_MODE_7_BIT

define DL_I2C_TARGET_ADDRESSING_MODE_10_BIT

#define DL_I2C_TARGET_ADDRESSING_MODE_10_BIT DL_I2CT_ADDRESSING_MODE_10_BIT

Redirects to DL_I2CT_ADDRESSING_MODE_10_BIT

define DL_I2C_TARGET_PEC_STATUS_CHECKED

#define DL_I2C_TARGET_PEC_STATUS_CHECKED DL_I2CT_PEC_STATUS_CHECKED

Redirects to DL_I2CT_PEC_STATUS_CHECKED

define DL_I2C_TARGET_PEC_STATUS_NOT_CHECKED

#define DL_I2C_TARGET_PEC_STATUS_NOT_CHECKED DL_I2CT_PEC_STATUS_NOT_CHECKED

Redirects to DL_I2CT_PEC_STATUS_NOT_CHECKED

define DL_I2C_TARGET_RESPONSE_OVERRIDE_VALUE_ACK

#define DL_I2C_TARGET_RESPONSE_OVERRIDE_VALUE_ACK DL_I2CT_RESPONSE_OVERRIDE_VALUE_ACK

Redirects to DL_I2CT_RESPONSE_OVERRIDE_VALUE_ACK

define DL_I2C_TARGET_RESPONSE_OVERRIDE_VALUE_NACK

#define DL_I2C_TARGET_RESPONSE_OVERRIDE_VALUE_NACK DL_I2CT_RESPONSE_OVERRIDE_VALUE_NACK

Redirects to DL_I2CT_RESPONSE_OVERRIDE_VALUE_NACK

define DL_I2C_IIDX_TARGET_RX_DONE

#define DL_I2C_IIDX_TARGET_RX_DONE DL_I2CT_IIDX_RX_DONE

Redirects to DL_I2CT_IIDX_RX_DONE

define DL_I2C_IIDX_TARGET_TX_DONE

#define DL_I2C_IIDX_TARGET_TX_DONE DL_I2CT_IIDX_TX_DONE

Redirects to DL_I2CT_IIDX_TX_DONE

define DL_I2C_IIDX_TARGET_RXFIFO_TRIGGER

#define DL_I2C_IIDX_TARGET_RXFIFO_TRIGGER DL_I2CT_IIDX_RXFIFO_TRIGGER

Redirects to DL_I2CT_IIDX_RXFIFO_TRIGGER

define DL_I2C_IIDX_TARGET_TXFIFO_TRIGGER

#define DL_I2C_IIDX_TARGET_TXFIFO_TRIGGER DL_I2CT_IIDX_TXFIFO_TRIGGER

Redirects to DL_I2CT_IIDX_TXFIFO_TRIGGER

define DL_I2C_IIDX_TARGET_RXFIFO_FULL

#define DL_I2C_IIDX_TARGET_RXFIFO_FULL DL_I2CT_IIDX_RXFIFO_FULL

Redirects to DL_I2CT_IIDX_RXFIFO_FULL

define DL_I2C_IIDX_TARGET_TXFIFO_EMPTY

#define DL_I2C_IIDX_TARGET_TXFIFO_EMPTY DL_I2CT_IIDX_TXFIFO_EMPTY

Redirects to DL_I2CT_IIDX_TXFIFO_EMPTY

define DL_I2C_IIDX_TARGET_GENERAL_CALL

#define DL_I2C_IIDX_TARGET_GENERAL_CALL DL_I2CT_IIDX_GENERAL_CALL

Redirects to DL_I2CT_IIDX_GENERAL_CALL

define DL_I2C_IIDX_TARGET_START

#define DL_I2C_IIDX_TARGET_START DL_I2CT_IIDX_START

Redirects to DL_I2CT_IIDX_START

define DL_I2C_IIDX_TARGET_STOP

#define DL_I2C_IIDX_TARGET_STOP DL_I2CT_IIDX_STOP

Redirects to DL_I2CT_IIDX_STOP

define DL_I2C_IIDX_TARGET_ARBITRATION_LOST

#define DL_I2C_IIDX_TARGET_ARBITRATION_LOST DL_I2CT_IIDX_ARBITRATION_LOST

Redirects to DL_I2CT_IIDX_ARBITRATION_LOST

define DL_I2C_IIDX_TARGET_EVENT1_DMA_DONE

#define DL_I2C_IIDX_TARGET_EVENT1_DMA_DONE DL_I2CT_IIDX_EVENT1_DMA_DONE

Redirects to DL_I2CT_IIDX_EVENT1_DMA_DONE

define DL_I2C_IIDX_TARGET_EVENT2_DMA_DONE

#define DL_I2C_IIDX_TARGET_EVENT2_DMA_DONE DL_I2CT_IIDX_EVENT2_DMA_DONE

Redirects to DL_I2CT_IIDX_EVENT2_DMA_DONE

define DL_I2C_IIDX_TARGET_PEC_RX_ERROR

#define DL_I2C_IIDX_TARGET_PEC_RX_ERROR DL_I2CT_IIDX_PEC_RX_ERROR

Redirects to DL_I2CT_IIDX_PEC_RX_ERROR

define DL_I2C_IIDX_TARGET_TXFIFO_UNDERFLOW

#define DL_I2C_IIDX_TARGET_TXFIFO_UNDERFLOW DL_I2CT_IIDX_TXFIFO_UNDERFLOW

Redirects to DL_I2CT_IIDX_TXFIFO_UNDERFLOW

define DL_I2C_IIDX_TARGET_RXFIFO_OVERFLOW

#define DL_I2C_IIDX_TARGET_RXFIFO_OVERFLOW DL_I2CT_IIDX_RXFIFO_OVERFLOW

Redirects to DL_I2CT_IIDX_RXFIFO_OVERFLOW

define DL_I2C_getTargetOwnAddressAlternate

#define DL_I2C_getTargetOwnAddressAlternate DL_I2CT_getOwnAddressAlternate

Redirects to DL_I2CT_getOwnAddressAlternate

define I2C_getTargetOwnAddressAlternateMask

#define I2C_getTargetOwnAddressAlternateMask DL_I2CT_getOwnAddressAlternateMask

Redirects to DL_I2CT_getOwnAddressAlternateMask

define DL_I2C_isTargetTXFIFOFull

#define DL_I2C_isTargetTXFIFOFull DL_I2CT_isTXFIFOFull

Redirects to DL_I2CT_isTXFIFOFull

define DL_I2C_isTargetTXFIFOEmpty

#define DL_I2C_isTargetTXFIFOEmpty DL_I2CT_isTXFIFOEmpty

Redirects to DL_I2CT_isTXFIFOEmpty

define DL_I2C_isTargetRXFIFOEmpty

#define DL_I2C_isTargetRXFIFOEmpty DL_I2CT_isRXFIFOEmpty

Redirects to DL_I2CT_isRXFIFOEmpty

define DL_I2C_fillTargetTXFIFO

#define DL_I2C_fillTargetTXFIFO DL_I2CT_fillTXFIFO

Redirects to DL_I2CT_fillTXFIFO

define DL_I2C_flushTargetTXFIFO

#define DL_I2C_flushTargetTXFIFO DL_I2CT_flushTXFIFO

Redirects to DL_I2CT_flushTXFIFO

define DL_I2C_flushTargetRXFIFO

#define DL_I2C_flushTargetRXFIFO DL_I2CT_flushRXFIFO

Redirects to DL_I2CT_flushRXFIFO

define DL_I2C_transmitTargetDataBlocking

#define DL_I2C_transmitTargetDataBlocking DL_I2CT_transmitDataBlocking

Redirects to DL_I2CT_transmitDataBlocking

define DL_I2C_transmitTargetDataCheck

#define DL_I2C_transmitTargetDataCheck DL_I2CT_transmitDataCheck

Redirects to DL_I2CT_transmitDataCheck

define DL_I2C_receiveTargetDataBlocking

#define DL_I2C_receiveTargetDataBlocking DL_I2CT_receiveDataBlocking

Redirects to DL_I2CT_receiveDataBlocking

define DL_I2C_receiveTargetDataCheck

#define DL_I2C_receiveTargetDataCheck DL_I2CT_receiveDataCheck

Redirects to DL_I2CT_receiveDataCheck

define DL_I2C_setTargetOwnAddress

#define DL_I2C_setTargetOwnAddress DL_I2CT_setOwnAddress

Redirects to DL_I2CT_setOwnAddress

define DL_I2C_getTargetOwnAddress

#define DL_I2C_getTargetOwnAddress DL_I2CT_getOwnAddress

Redirects to DL_I2CT_getOwnAddress

define DL_I2C_enableTargetOwnAddress

#define DL_I2C_enableTargetOwnAddress DL_I2CT_enableOwnAddress

Redirects to DL_I2CT_enableOwnAddress

define DL_I2C_disableTargetOwnAddress

#define DL_I2C_disableTargetOwnAddress DL_I2CT_disableOwnAddress

Redirects to DL_I2CT_disableOwnAddress

define DL_I2C_isTargetOwnAddressEnabled

#define DL_I2C_isTargetOwnAddressEnabled DL_I2CT_isOwnAddressEnabled

Redirects to DL_I2CT_isOwnAddressEnabled

define DL_I2C_setTargetAddressingMode

#define DL_I2C_setTargetAddressingMode DL_I2CT_setAddressingMode

Redirects to DL_I2CT_setAddressingMode

define DL_I2C_getTargetAddressingMode

#define DL_I2C_getTargetAddressingMode DL_I2CT_getAddressingMode

Redirects to DL_I2CT_getAddressingMode

define DL_I2C_setTargetOwnAddressAlternate

#define DL_I2C_setTargetOwnAddressAlternate DL_I2CT_setOwnAddressAlternate

Redirects to DL_I2CT_setOwnAddressAlternate

define DL_I2C_setTargetOwnAddressAlternateMask

#define DL_I2C_setTargetOwnAddressAlternateMask DL_I2CT_setOwnAddressAlternateMask

Redirects to DL_I2CT_setOwnAddressAlternateMask

define DL_I2C_disableTargetOwnAddressAlternate

#define DL_I2C_disableTargetOwnAddressAlternate DL_I2CT_disableOwnAddressAlternate

Redirects to DL_I2CT_disableOwnAddressAlternate

define DL_I2C_isTargetOwnAddressAlternateEnabled

#define DL_I2C_isTargetOwnAddressAlternateEnabled DL_I2CT_isOwnAddressAlternateEnabled

Redirects to DL_I2CT_isOwnAddressAlternateEnabled

define DL_I2C_enableTargetOwnAddressAlternate

#define DL_I2C_enableTargetOwnAddressAlternate DL_I2CT_enableOwnAddressAlternate

Redirects to DL_I2CT_enableOwnAddressAlternate

define DL_I2C_getTargetAddressMatch

#define DL_I2C_getTargetAddressMatch DL_I2CT_getAddressMatch

Redirects to DL_I2CT_getAddressMatch

define DL_I2C_disableTargetClockStretching

#define DL_I2C_disableTargetClockStretching DL_I2CT_disableClockStretching

Redirects to DL_I2CT_disableClockStretching

define DL_I2C_isTargetClockStretchingEnabled

#define DL_I2C_isTargetClockStretchingEnabled DL_I2CT_isClockStretchingEnabled

Redirects to DL_I2CT_isClockStretchingEnabled

define DL_I2C_enableTargetClockStretching

#define DL_I2C_enableTargetClockStretching DL_I2CT_enableClockStretching

Redirects to DL_I2CT_enableClockStretching

define DL_I2C_disableTargetTXEmptyOnTXRequest

#define DL_I2C_disableTargetTXEmptyOnTXRequest DL_I2CT_disableTXEmptyOnTXRequest

Redirects to DL_I2CT_disableTXEmptyOnTXRequest

define DL_I2C_isTargetTXEmptyOnTXRequestEnabled

#define DL_I2C_isTargetTXEmptyOnTXRequestEnabled DL_I2CT_isTXEmptyOnTXRequestEnabled

Redirects to DL_I2CT_isTXEmptyOnTXRequestEnabled

define DL_I2C_enableTargetTXEmptyOnTXRequest

#define DL_I2C_enableTargetTXEmptyOnTXRequest DL_I2CT_enableTXEmptyOnTXRequest

Redirects to DL_I2CT_enableTXEmptyOnTXRequest

define DL_I2C_disableTargetTXTriggerInTXMode

#define DL_I2C_disableTargetTXTriggerInTXMode DL_I2CT_disableTXTriggerInTXMode

Redirects to DL_I2CT_disableTXTriggerInTXMode

define DL_I2C_isTargetTXTriggerInTXModeEnabled

#define DL_I2C_isTargetTXTriggerInTXModeEnabled DL_I2CT_isTXTriggerInTXModeEnabled

Redirects to DL_I2CT_isTXTriggerInTXModeEnabled

define DL_I2C_enableTargetTXTriggerInTXMode

#define DL_I2C_enableTargetTXTriggerInTXMode DL_I2CT_enableTXTriggerInTXMode

Redirects to DL_I2CT_enableTXTriggerInTXMode

define DL_I2C_disableTargetTXWaitWhenTXFIFOStale

#define DL_I2C_disableTargetTXWaitWhenTXFIFOStale DL_I2CT_disableTXWaitWhenTXFIFOStale

Redirects to DL_I2CT_disableTXWaitWhenTXFIFOStale

define DL_I2C_isTargetTXWaitWhenTXFIFOStaleEnabled

#define DL_I2C_isTargetTXWaitWhenTXFIFOStaleEnabled DL_I2CT_isTXWaitWhenTXFIFOStaleEnabled

Redirects to DL_I2CT_isTXWaitWhenTXFIFOStaleEnabled

define DL_I2C_enableTargetTXWaitWhenTXFIFOStale

#define DL_I2C_enableTargetTXWaitWhenTXFIFOStale DL_I2CT_enableTXWaitWhenTXFIFOStale

Redirects to DL_I2CT_enableTXWaitWhenTXFIFOStale

define DL_I2C_disableTargetRXFullOnRXRequest

#define DL_I2C_disableTargetRXFullOnRXRequest DL_I2CT_disableRXFullOnRXRequest

Redirects to DL_I2CT_disableRXFullOnRXRequest

define DL_I2C_isTargetRXFullOnRXRequestEnabled

#define DL_I2C_isTargetRXFullOnRXRequestEnabled DL_I2CT_isRXFullOnRXRequestEnabled

Redirects to DL_I2CT_isRXFullOnRXRequestEnabled

define DL_I2C_enableTargetRXFullOnRXRequest

#define DL_I2C_enableTargetRXFullOnRXRequest DL_I2CT_enableRXFullOnRXRequest

Redirects to DL_I2CT_enableRXFullOnRXRequest

define DL_I2C_disableTargetWakeup

#define DL_I2C_disableTargetWakeup DL_I2CT_disableWakeup

Redirects to DL_I2CT_disableWakeup

define DL_I2C_isTargetWakeupEnabled

#define DL_I2C_isTargetWakeupEnabled DL_I2CT_isWakeupEnabled

Redirects to DL_I2CT_isWakeupEnabled

define DL_I2C_enableTargetWakeup

#define DL_I2C_enableTargetWakeup DL_I2CT_enableWakeup

Redirects to DL_I2CT_enableWakeup

define DL_I2C_disableTarget

#define DL_I2C_disableTarget DL_I2CT_disable

Redirects to DL_I2CT_disable

define DL_I2C_isTargetEnabled

#define DL_I2C_isTargetEnabled DL_I2CT_isEnabled

Redirects to DL_I2CT_isEnabled

define DL_I2C_enableTarget

#define DL_I2C_enableTarget DL_I2CT_enable

Redirects to DL_I2CT_enable

define DL_I2C_getTargetStatus

#define DL_I2C_getTargetStatus DL_I2CT_getStatus

Redirects to DL_I2CT_getStatus

define DL_I2C_receiveTargetData

#define DL_I2C_receiveTargetData DL_I2CT_receiveData

Redirects to DL_I2CT_receiveData

define DL_I2C_transmitTargetData

#define DL_I2C_transmitTargetData DL_I2CT_transmitData

Redirects to DL_I2CT_transmitData

define DL_I2C_disableTargetACKOverride

#define DL_I2C_disableTargetACKOverride DL_I2CT_disableACKOverride

Redirects to DL_I2CT_disableACKOverride

define DL_I2C_isTargetACKOverrideEnabled

#define DL_I2C_isTargetACKOverrideEnabled DL_I2CT_isACKOverrideEnabled

Redirects to DL_I2CT_isACKOverrideEnabled

define DL_I2C_enableTargetACKOverride

#define DL_I2C_enableTargetACKOverride DL_I2CT_enableACKOverride

Redirects to DL_I2CT_enableACKOverride

define DL_I2C_getTargetACKOverrideValue

#define DL_I2C_getTargetACKOverrideValue DL_I2CT_getACKOverrideValue

Redirects to DL_I2CT_getACKOverrideValue

define DL_I2C_setTargetACKOverrideValue

#define DL_I2C_setTargetACKOverrideValue DL_I2CT_setACKOverrideValue

Redirects to DL_I2CT_setACKOverrideValue

define DL_I2C_getTargetPECCountValue

#define DL_I2C_getTargetPECCountValue DL_I2CT_getPECCountValue

Redirects to DL_I2CT_getPECCountValue

define DL_I2C_setTargetPECCountValue

#define DL_I2C_setTargetPECCountValue DL_I2CT_setPECCountValue

Redirects to DL_I2CT_setPECCountValue

define DL_I2C_disableTargetPEC

#define DL_I2C_disableTargetPEC DL_I2CT_disablePEC

Redirects to DL_I2CT_disablePEC

define DL_I2C_isTargetPECEnabled

#define DL_I2C_isTargetPECEnabled DL_I2CT_isPECEnabled

Redirects to DL_I2CT_isPECEnabled

define DL_I2C_enableTargetPEC

#define DL_I2C_enableTargetPEC DL_I2CT_enablePEC

Redirects to DL_I2CT_enablePEC

define DL_I2C_getTargetCurrentPECCount

#define DL_I2C_getTargetCurrentPECCount DL_I2CT_getCurrentPECCount

Redirects to DL_I2CT_getCurrentPECCount

define DL_I2C_getTargetPECCheckedStatus

#define DL_I2C_getTargetPECCheckedStatus DL_I2CT_getPECCheckedStatus

Redirects to DL_I2CT_getPECCheckedStatus

define DL_I2C_getTargetPECCheckError

#define DL_I2C_getTargetPECCheckError DL_I2CT_getPECCheckError

Redirects to DL_I2CT_getPECCheckError

define DL_I2C_getTargetTXFIFOThreshold

#define DL_I2C_getTargetTXFIFOThreshold DL_I2CT_getTXFIFOThreshold

Redirects to DL_I2CT_getTXFIFOThreshold

define DL_I2C_setTargetTXFIFOThreshold

#define DL_I2C_setTargetTXFIFOThreshold DL_I2CT_setTXFIFOThreshold

Redirects to DL_I2CT_setTXFIFOThreshold

define DL_I2C_stopFlushTargetTXFIFO

#define DL_I2C_stopFlushTargetTXFIFO DL_I2CT_stopFlushTXFIFO

Redirects to DL_I2CT_stopFlushTXFIFO

define DL_I2C_startFlushTargetTXFIFO

#define DL_I2C_startFlushTargetTXFIFO DL_I2CT_startFlushTXFIFO

Redirects to DL_I2CT_startFlushTXFIFO

define DL_I2C_getTargetRXFIFOThreshold

#define DL_I2C_getTargetRXFIFOThreshold DL_I2CT_getRXFIFOThreshold

Redirects to DL_I2CT_getRXFIFOThreshold

define DL_I2C_setTargetRXFIFOThreshold

#define DL_I2C_setTargetRXFIFOThreshold DL_I2CT_setRXFIFOThreshold

Redirects to DL_I2CT_setRXFIFOThreshold

define DL_I2C_stopFlushTargetRXFIFO

#define DL_I2C_stopFlushTargetRXFIFO DL_I2CT_stopFlushRXFIFO

Redirects to DL_I2CT_stopFlushRXFIFO

define DL_I2C_startFlushTargetRXFIFO

#define DL_I2C_startFlushTargetRXFIFO DL_I2CT_startFlushRXFIFO

Redirects to DL_I2CT_startFlushRXFIFO

define DL_I2C_isTargetRXFIFOFlushActive

#define DL_I2C_isTargetRXFIFOFlushActive DL_I2CT_isRXFIFOFlushActive

Redirects to DL_I2CT_isRXFIFOFlushActive

define DL_I2C_isTargetTXFIFOFlushActive

#define DL_I2C_isTargetTXFIFOFlushActive DL_I2CT_isTXFIFOFlushActive

Redirects to DL_I2CT_isTXFIFOFlushActive

define DL_I2CT_STATUS_ADDRESS_MATCH

#define DL_I2CT_STATUS_ADDRESS_MATCH (UNICOMMI2CT_SR_ADDRMATCH_MASK)

Indicates the address for which address match happened.

define DL_I2CT_STATUS_STALE_TX_FIFO

#define DL_I2CT_STATUS_STALE_TX_FIFO (UNICOMMI2CT_SR_STALE_TXFIFO_MASK)

I2CT Stale TX FIFO.

Set = The TX FIFO data is stale. This occurs when the TX FIFO was not emptied during the previous I2CT transaction Clear = The TX FIFO data is not stale

define DL_I2CT_STATUS_TX_MODE

#define DL_I2CT_STATUS_TX_MODE (UNICOMMI2CT_SR_TXMODE_MASK)

I2CT TX Mode.

Set = is in the TX_DATA, TX_ACK, TX_WAIT, or ADDR_ACK state with the bus direction set to read Clear = is not in the TX_DATA, TX_ACK, TX_WAIT, or ADDR_ACK state with the bus direction set to read

define DL_I2CT_STATUS_BUS_BUSY

#define DL_I2CT_STATUS_BUS_BUSY (UNICOMMI2CT_SR_BUSBSY_MASK)

I2CT Bus Busy.

Set = The I2CT bus is busy. This is cleared on a timeout Clear = The I2CT bus is not busy. This bit is cleared when a STOP condition is detected on the bus.

define DL_I2CT_STATUS_RX_MODE

#define DL_I2CT_STATUS_RX_MODE (UNICOMMI2CT_SR_RXMODE_MASK)

I2CT RX Mode.

Set = is in the RX_DATA, RX_ACK, RX_WAIT, RX_ACK_WAIT or ADDR_ACK state with the bus direction set to write Clear = is not in the RX_DATA, RX_ACK, RX_WAIT, RX_ACK_WAIT or ADDR_ACK state with the bus direction set to write

define DL_I2CT_STATUS_QUICK_COMMAND_READ_WRITE

#define DL_I2CT_STATUS_QUICK_COMMAND_READ_WRITE (UNICOMMI2CT_SR_QCMDRW_MASK)

Direction of I2CT Quick Command Only valid when QCMDST is set.

See: DL_I2CT_STATUS_QUICK_COMMAND_STATUS. Set = Quick command was a read Clear = Quick command was a write

define DL_I2CT_STATUS_QUICK_COMMAND_STATUS

#define DL_I2CT_STATUS_QUICK_COMMAND_STATUS (UNICOMMI2CT_SR_QCMDST_MASK)

Status of I2CT Quick Command.

See: DL_I2CT_STATUS_QUICK_COMMAND_READ_WRITE. Set = Last transaction was a Quick Comand transaction Clear = Last transaction was normal or has not occurred

define DL_I2CT_STATUS_OWN_ADDR_ALTERNATE_MATCHED

#define DL_I2CT_STATUS_OWN_ADDR_ALTERNATE_MATCHED (UNICOMMI2CT_SR_OAR2SEL_MASK)

I2CT Own Address Alternate Matched.

define DL_I2CT_STATUS_TRANSMIT_REQUEST

#define DL_I2CT_STATUS_TRANSMIT_REQUEST (UNICOMMI2CT_SR_TREQ_MASK)

I2CT Transmit Request.

define DL_I2CT_STATUS_RECEIVE_REQUEST

#define DL_I2CT_STATUS_RECEIVE_REQUEST (UNICOMMI2CT_SR_RREQ_MASK)

I2CT Receive Request.

define DL_I2CT_INTERRUPT_RX_DONE

#define DL_I2CT_INTERRUPT_RX_DONE (UNICOMMI2CT_CPU_INT_IMASK_RXDONE_SET)

Receive Data Interrupt (byte has been received)

define DL_I2CT_INTERRUPT_TX_DONE

#define DL_I2CT_INTERRUPT_TX_DONE (UNICOMMI2CT_CPU_INT_IMASK_TXDONE_SET)

Transmit Transaction completed Interrupt.

define DL_I2CT_INTERRUPT_RXFIFO_TRIGGER

#define DL_I2CT_INTERRUPT_RXFIFO_TRIGGER (UNICOMMI2CT_CPU_INT_IMASK_RXTRG_SET)

Receive FIFO Trigger.

define DL_I2CT_INTERRUPT_TXFIFO_TRIGGER

#define DL_I2CT_INTERRUPT_TXFIFO_TRIGGER (UNICOMMI2CT_CPU_INT_IMASK_TXTRG_SET)

Transmit FIFO Trigger.

define DL_I2CT_INTERRUPT_RXFIFO_FULL

#define DL_I2CT_INTERRUPT_RXFIFO_FULL (UNICOMMI2CT_CPU_INT_IMASK_RXFULL_SET)

RX FIFO full.

define DL_I2CT_INTERRUPT_TXFIFO_EMPTY

#define DL_I2CT_INTERRUPT_TXFIFO_EMPTY (UNICOMMI2CT_CPU_INT_IMASK_TXEMPTY_SET)

TX FIFO empty. All data in Transmit FIFO shifted out and transmit goes into idle mode.

define DL_I2CT_INTERRUPT_START

#define DL_I2CT_INTERRUPT_START (UNICOMMI2CT_CPU_INT_IMASK_START_SET)

Start Condition detected.

define DL_I2CT_INTERRUPT_STOP

#define DL_I2CT_INTERRUPT_STOP (UNICOMMI2CT_CPU_INT_IMASK_STOP_SET)

Stop Condition detected.

define DL_I2CT_INTERRUPT_GENERAL_CALL

#define DL_I2CT_INTERRUPT_GENERAL_CALL (UNICOMMI2CT_CPU_INT_IMASK_GENCALL_SET)

General Call Interrupt.

define DL_I2CT_INTERRUPT_EVENT1_DMA_DONE

#define DL_I2CT_INTERRUPT_EVENT1_DMA_DONE (UNICOMMI2CT_CPU_INT_IMASK_DMA_DONE_TX_SET)

DMA Done on Event 1 Publisher.

define DL_I2CT_INTERRUPT_EVENT2_DMA_DONE

#define DL_I2CT_INTERRUPT_EVENT2_DMA_DONE (UNICOMMI2CT_CPU_INT_IMASK_DMA_DONE_RX_SET)

DMA Done on Event 2 Publisher.

define DL_I2CT_INTERRUPT_PEC_RX_ERROR

#define DL_I2CT_INTERRUPT_PEC_RX_ERROR (UNICOMMI2CT_CPU_INT_IMASK_PEC_RX_ERR_SET)

SMBus/PMBus PEC Receive Error Interrupt.

define DL_I2CT_INTERRUPT_TXFIFO_UNDERFLOW

#define DL_I2CT_INTERRUPT_TXFIFO_UNDERFLOW (UNICOMMI2CT_CPU_INT_IMASK_TX_UNFL_SET)

TX FIFO Underflow Interrupt.

define DL_I2CT_INTERRUPT_RXFIFO_OVERFLOW

#define DL_I2CT_INTERRUPT_RXFIFO_OVERFLOW (UNICOMMI2CT_CPU_INT_IMASK_RX_OVFL_SET)

RX FIFO Overflow Interrupt.

define DL_I2CT_INTERRUPT_ARBITRATION_LOST

#define DL_I2CT_INTERRUPT_ARBITRATION_LOST (UNICOMMI2CT_CPU_INT_IMASK_ARBLOST_SET)

Arbitration Lost Interrupt.

define DL_I2CT_INTERRUPT_TIMEOUT_A

#define DL_I2CT_INTERRUPT_TIMEOUT_A (UNICOMMI2CT_CPU_INT_IMASK_TIMEOUTA_SET)

Timeout A Interrupt.

define DL_I2CT_INTERRUPT_TIMEOUT_B

#define DL_I2CT_INTERRUPT_TIMEOUT_B (UNICOMMI2CT_CPU_INT_IMASK_TIMEOUTB_SET)

Timeout B Interrupt.

define DL_I2CT_DMA_INTERRUPT_TXFIFO_TRIGGER

#define DL_I2CT_DMA_INTERRUPT_TXFIFO_TRIGGER (UNICOMMI2CT_DMA_TRIG0_IMASK_TXTRG_SET)

Peripheral Transmit FIFO Trigger interrupt for DMA trigger.

define DL_I2CT_DMA_INTERRUPT_RXFIFO_TRIGGER

#define DL_I2CT_DMA_INTERRUPT_RXFIFO_TRIGGER (UNICOMMI2CT_DMA_TRIG1_IMASK_RXTRG_SET)

Peripheral Receive FIFO Trigger interrupt for DMA trigger.