iLLD_TC27xC
1.0
|
![]() |
Functions | |
IFX_INLINE boolean | IfxI2c_arbitrationLostFlag (Ifx_I2C *i2c) |
returns the Arbitration Lost Flag More... | |
IFX_INLINE boolean | IfxI2c_busIsFree (Ifx_I2C *i2c) |
Returns if the bus is free. More... | |
IFX_INLINE void | IfxI2c_clearArbitrationLostFlag (Ifx_I2C *i2c) |
Clears the Arbitration Lost Flag. More... | |
IFX_INLINE void | IfxI2c_clearErrorInterrupts (Ifx_I2C *i2c) |
IFX_INLINE void | IfxI2c_clearFifoRequests (Ifx_I2C *i2c) |
IFX_INLINE void | IfxI2c_clearProtocolInterrupts (Ifx_I2C *i2c) |
Clears the Protocol Interrupt Flags. More... | |
IFX_INLINE void | IfxI2c_clearReceivedNakFlag (Ifx_I2C *i2c) |
Clears the NAK Flag. More... | |
IFX_INLINE void | IfxI2c_clearTxEndInterrupt (Ifx_I2C *i2c) |
IFX_INLINE IfxI2c_BusStatus | IfxI2c_getBusStatus (Ifx_I2C *i2c) |
IFX_INLINE boolean | IfxI2c_isFifoRequest (Ifx_I2C *i2c) |
Returns if the Fifo is requesting new data. More... | |
IFX_INLINE boolean | IfxI2c_isTxEndInterrupt (Ifx_I2C *i2c) |
IFX_INLINE boolean | IfxI2c_receivedNakFlag (Ifx_I2C *i2c) |
returns the NAK Flag More... | |
IFX_INLINE void | IfxI2c_run (Ifx_I2C *i2c) |
IFX_INLINE void | IfxI2c_setPinSelection (Ifx_I2C *i2c, IfxI2c_PinSelect pisel) |
IFX_INLINE void | IfxI2c_setReceivePacketSize (Ifx_I2C *i2c, Ifx_SizeT size) |
Sets the number of bytes to be received. More... | |
IFX_INLINE void | IfxI2c_setSlaveDeviceAddress (Ifx_I2C *i2c, uint16 address) |
IFX_INLINE void | IfxI2c_setTransmitPacketSize (Ifx_I2C *i2c, Ifx_SizeT size) |
Sets the number of bytes to be tansmitted. More... | |
IFX_INLINE void | IfxI2c_stop (Ifx_I2C *i2c) |
IFX_INLINE void | IfxI2c_waitBusFree (Ifx_I2C *i2c) |
IFX_INLINE void | IfxI2c_writeFifo (Ifx_I2C *i2c, uint32 packet) |
Writes a packet (4 bytes) into the Fifo. More... | |
IFX_EXTERN void | IfxI2c_configureAsMaster (Ifx_I2C *i2c) |
Configures the Module as Master. More... | |
IFX_EXTERN void | IfxI2c_disableModule (Ifx_I2C *i2c) |
Disables the I2c Module. More... | |
IFX_EXTERN void | IfxI2c_enableModule (Ifx_I2C *i2c) |
Enables the I2c Module. More... | |
IFX_EXTERN float32 | IfxI2c_getBaudrate (Ifx_I2C *i2c) |
Returns the real Baudrate. More... | |
IFX_EXTERN void | IfxI2c_initSclSdaPin (const IfxI2c_Scl_InOut *scl, const IfxI2c_Sda_InOut *sda, IfxPort_PadDriver padDriver) |
IFX_EXTERN void | IfxI2c_releaseBus (Ifx_I2C *i2c) |
Releases the bus, i.e puts a stop condition on the bus. More... | |
IFX_EXTERN void | IfxI2c_resetFifo (Ifx_I2C *i2c) |
IFX_EXTERN void | IfxI2c_setBaudrate (Ifx_I2C *i2c, float32 baudrate) |
Calculates the desired baudrate. More... | |
IFX_INLINE boolean IfxI2c_arbitrationLostFlag | ( | Ifx_I2C * | i2c) |
returns the Arbitration Lost Flag
Definition at line 247 of file IfxI2c.h.
Referenced by IfxI2c_I2c_read(), and IfxI2c_I2c_write().
IFX_INLINE boolean IfxI2c_busIsFree | ( | Ifx_I2C * | i2c) |
Returns if the bus is free.
Definition at line 253 of file IfxI2c.h.
Referenced by IfxI2c_I2c_read(), and IfxI2c_I2c_write().
IFX_INLINE void IfxI2c_clearArbitrationLostFlag | ( | Ifx_I2C * | i2c) |
Clears the Arbitration Lost Flag.
Definition at line 266 of file IfxI2c.h.
Referenced by IfxI2c_I2c_read(), and IfxI2c_I2c_write().
IFX_INLINE void IfxI2c_clearErrorInterrupts | ( | Ifx_I2C * | i2c) |
Definition at line 272 of file IfxI2c.h.
Referenced by IfxI2c_I2c_read(), and IfxI2c_I2c_write().
IFX_INLINE void IfxI2c_clearFifoRequests | ( | Ifx_I2C * | i2c) |
Definition at line 278 of file IfxI2c.h.
Referenced by IfxI2c_I2c_read(), and IfxI2c_I2c_write().
IFX_INLINE void IfxI2c_clearProtocolInterrupts | ( | Ifx_I2C * | i2c) |
Clears the Protocol Interrupt Flags.
Definition at line 284 of file IfxI2c.h.
Referenced by IfxI2c_I2c_read(), and IfxI2c_I2c_write().
IFX_INLINE void IfxI2c_clearReceivedNakFlag | ( | Ifx_I2C * | i2c) |
Clears the NAK Flag.
Definition at line 290 of file IfxI2c.h.
Referenced by IfxI2c_I2c_read(), and IfxI2c_I2c_write().
IFX_INLINE void IfxI2c_clearTxEndInterrupt | ( | Ifx_I2C * | i2c) |
Definition at line 296 of file IfxI2c.h.
Referenced by IfxI2c_I2c_read(), IfxI2c_I2c_write(), and IfxI2c_releaseBus().
IFX_EXTERN void IfxI2c_configureAsMaster | ( | Ifx_I2C * | i2c) |
Configures the Module as Master.
Definition at line 35 of file IfxI2c.c.
Referenced by IfxI2c_I2c_initModule().
IFX_EXTERN void IfxI2c_disableModule | ( | Ifx_I2C * | i2c) |
IFX_EXTERN void IfxI2c_enableModule | ( | Ifx_I2C * | i2c) |
Enables the I2c Module.
Definition at line 71 of file IfxI2c.c.
Referenced by IfxI2c_I2c_initModule().
IFX_EXTERN float32 IfxI2c_getBaudrate | ( | Ifx_I2C * | i2c) |
Returns the real Baudrate.
Definition at line 100 of file IfxI2c.c.
Referenced by IfxI2c_I2c_initModule().
IFX_INLINE IfxI2c_BusStatus IfxI2c_getBusStatus | ( | Ifx_I2C * | i2c) |
Definition at line 302 of file IfxI2c.h.
Referenced by IfxI2c_I2c_initModule(), IfxI2c_I2c_read(), IfxI2c_I2c_write(), and IfxI2c_waitBusFree().
IFX_EXTERN void IfxI2c_initSclSdaPin | ( | const IfxI2c_Scl_InOut * | scl, |
const IfxI2c_Sda_InOut * | sda, | ||
IfxPort_PadDriver | padDriver | ||
) |
IFX_INLINE boolean IfxI2c_isFifoRequest | ( | Ifx_I2C * | i2c) |
IFX_INLINE boolean IfxI2c_isTxEndInterrupt | ( | Ifx_I2C * | i2c) |
Definition at line 314 of file IfxI2c.h.
Referenced by IfxI2c_I2c_read(), IfxI2c_I2c_write(), and IfxI2c_releaseBus().
IFX_INLINE boolean IfxI2c_receivedNakFlag | ( | Ifx_I2C * | i2c) |
returns the NAK Flag
Definition at line 320 of file IfxI2c.h.
Referenced by IfxI2c_I2c_read(), and IfxI2c_I2c_write().
IFX_EXTERN void IfxI2c_releaseBus | ( | Ifx_I2C * | i2c) |
Releases the bus, i.e puts a stop condition on the bus.
Definition at line 122 of file IfxI2c.c.
Referenced by IfxI2c_I2c_read(), and IfxI2c_I2c_write().
IFX_EXTERN void IfxI2c_resetFifo | ( | Ifx_I2C * | i2c) |
IFX_INLINE void IfxI2c_run | ( | Ifx_I2C * | i2c) |
i2c |
Definition at line 326 of file IfxI2c.h.
Referenced by IfxI2c_I2c_initModule().
IFX_EXTERN void IfxI2c_setBaudrate | ( | Ifx_I2C * | i2c, |
float32 | baudrate | ||
) |
Calculates the desired baudrate.
Definition at line 151 of file IfxI2c.c.
Referenced by IfxI2c_I2c_initModule().
IFX_INLINE void IfxI2c_setPinSelection | ( | Ifx_I2C * | i2c, |
IfxI2c_PinSelect | pisel | ||
) |
IFX_INLINE void IfxI2c_setReceivePacketSize | ( | Ifx_I2C * | i2c, |
Ifx_SizeT | size | ||
) |
Sets the number of bytes to be received.
Definition at line 338 of file IfxI2c.h.
Referenced by IfxI2c_I2c_read().
IFX_INLINE void IfxI2c_setSlaveDeviceAddress | ( | Ifx_I2C * | i2c, |
uint16 | address | ||
) |
IFX_INLINE void IfxI2c_setTransmitPacketSize | ( | Ifx_I2C * | i2c, |
Ifx_SizeT | size | ||
) |
Sets the number of bytes to be tansmitted.
Definition at line 350 of file IfxI2c.h.
Referenced by IfxI2c_I2c_read(), and IfxI2c_I2c_write().
IFX_INLINE void IfxI2c_stop | ( | Ifx_I2C * | i2c) |
Definition at line 356 of file IfxI2c.h.
Referenced by IfxI2c_configureAsMaster(), and IfxI2c_I2c_initModule().
IFX_INLINE void IfxI2c_waitBusFree | ( | Ifx_I2C * | i2c) |
IFX_INLINE void IfxI2c_writeFifo | ( | Ifx_I2C * | i2c, |
uint32 | packet | ||
) |
Writes a packet (4 bytes) into the Fifo.
Definition at line 369 of file IfxI2c.h.
Referenced by IfxI2c_I2c_read(), and IfxI2c_I2c_write().