============================================================================= List of generated methods in project: InternalI2C THIS TEXT DESCRIPTION IS GENERATED BY THE TOOL. DO NOT MODIFY IT. ============================================================================= Module "I2C1" (Component InternalI2C) - I2C1_SendChar -When working as the MASTER, this method writes 7 bits of slave address plus R/W bit = 0 to the I2C bus and then writes one character (byte) to the bus. The slave address must be specified before, by the "SelectSlave" method or in Component initialization section, property "Slave address init". If interrupt service is enabled and the method returns ERR_OK, it doesn't mean that transmission was successful. The state of transmission you can get from events (OnTransmitData, OnError or OnArbitLost). When working as the SLAVE, this method writes a character to the internal output slave buffer and, after master starts the communication, to the I2C bus. If no character is ready for transmitting (internal output slave buffer is empty), the Empty character will be sent (see "Empty character" property). - I2C1_RecvChar -When working as the MASTER, this method writes 7 bits of slave address plus R/W bit = 1 to the I2C bus, then reads one character (byte) from the bus and then sends the stop condition. The slave address must be specified before, by the "SelectSlave" method or in Component initialization section, property "Slave address init". If interrupt service is enabled and the method returns ERR_OK, it doesn't mean that transmission was successful. The state of transmission you can get from events (OnReceiveData, OnError or OnArbitLost). When working as the SLAVE, this method reads a character from the input slave buffer. - I2C1_SendBlock -When working as the MASTER, this method writes 7 bits of slave address plus R/W bit = 0 to the I2C bus and then writes the block of characters to the bus. The slave address must be specified before, by the "SelectSlave" method or in Component initialization section, property "Slave address init". If interrupt service is enabled and the method returns ERR_OK, it doesn't mean that transmission was successful. The state of transmission you can get from events (OnTransmitData, OnError or OnArbitLost). The buffer passed as a parameter may not be changed until is transmitted (OnTransmitData). When working as the SLAVE, this method writes a block of characters to the internal output slave buffer and then, after master starts the communication, to the I2C bus. If no character is ready for transmitting (internal output slave buffer is empty), the "Empty character" will be sent (see "Empty character" property). - I2C1_RecvBlock -When working as the MASTER, this method writes 7 bits of slave address plus R/W bit = 1 to the I2C bus, then reads the block of characters from the bus and then sends the stop condition. The slave address must be specified before, by the "SelectSlave" method or in Component initialization section, property "Slave address init". If interrupt service is enabled and the method returns ERR_OK, it doesn't mean that transmission was successful. The state of transmission you can get from events (OnReceiveData, OnError or OnArbitLost). When working as the SLAVE, this method reads a block of characters from the input slave buffer. - I2C1_GetCharsInTxBuf -Return number of characters in the output buffer. In SLAVE mode returns number of characters in internal slave output buffer. In MASTER mode returns number of characters to be sent from the user buffer (passed by method SendBlock). This method is not supported in polling mode. - I2C1_GetCharsInRxBuf -Return number of characters in the input buffer. In SLAVE mode returns number of characters in internal slave input buffer. In MASTER mode returns number of characters to be received to the user buffer (passed by method RecvChar or RecvBlock). This method is not supported in polling mode. - I2C1_SelectSlave -This method selects a new slave for communication by its 7-bit slave address value. The range of the value is from 8 (0001000) to 123 (11111011), the other values are reserved for other purposes of the I2C bus (see I2C bus specification). Any send or receive method directs to or from selected device, until a new slave device is selected by this method. This method is not available for the SLAVE mode. Module "Cpu" (Component MC68HC908AP64_48) - Cpu_GetSpeedMode -Get current speed mode - Cpu_EnableInt -Enable maskable interrupts - Cpu_DisableInt -Disable maskable interrupts ===================================================================================