TMPM4G9
V1.0.0.0
|
Functions | |
TXZ_Result | EEPROM_i2c_init (void) |
Initializing of I2C Driver. More... | |
TXZ_Result | EEPROM_i2c_ReadByte (int32_t address, uint8_t *p_data) |
EEPROM BYTE READ. More... | |
TXZ_Result | EEPROM_i2c_WriteByte (int32_t address, uint8_t data) |
EEPROM BYTE WRITE. More... | |
int32_t | EEPROM_i2c_ReadData (int32_t address, uint8_t *p_data, int32_t length) |
EEPROM SEQUENCIAL READ. More... | |
int32_t | EEPROM_i2c_WritePage (int32_t address, uint8_t *p_data, int32_t length) |
EEPROM PAGE WRITE. More... | |
TXZ_Result | EEPROM_i2c_WriteProtection (void) |
EEPROM_i2c_WriteProtection. More... | |
int32_t | EEPROM_i2c_IsDeviceReady (void) |
EEPROM_i2c_IsDeviceReady. More... | |
int | main (void) |
Main Function. More... | |
void | irq_usb_uart_rx (BSPUsbUart uart) |
USB UART reception IRQ. More... | |
void | irq_usb_uart_tx (BSPUsbUart uart) |
USB UART transmit IRQ. More... | |
void | irq_usb_uart_err (BSPUsbUart uart) |
USB UART error IRQ. More... | |
TXZ_Result EEPROM_i2c_init | ( | void | ) |
Initializing of I2C Driver.
- |
TXZ_SUCCESS | :Success. |
TXZ_ERROR | :Failure. |
int32_t EEPROM_i2c_IsDeviceReady | ( | void | ) |
EEPROM_i2c_IsDeviceReady.
- |
1 | :Ready. |
0 | :Not Ready. |
TXZ_Result EEPROM_i2c_ReadByte | ( | int32_t | address, |
uint8_t * | p_data | ||
) |
EEPROM BYTE READ.
address | :Access location Address. |
p_data | :Destination address of Read data. |
TXZ_SUCCESS | :Success. |
TXZ_ERROR | :Failure. |
int32_t EEPROM_i2c_ReadData | ( | int32_t | address, |
uint8_t * | p_data, | ||
int32_t | length | ||
) |
EEPROM SEQUENCIAL READ.
address | :Access location Address. |
p_data | :Destination address of Read data. |
length | :Number of read bytes. |
Number | of read bytes. |
TXZ_Result EEPROM_i2c_WriteByte | ( | int32_t | address, |
uint8_t | data | ||
) |
EEPROM BYTE WRITE.
address | :Access location Address. |
data | :Write data. |
TXZ_SUCCESS | :Success. |
TXZ_ERROR | :Failure. |
int32_t EEPROM_i2c_WritePage | ( | int32_t | address, |
uint8_t * | p_data, | ||
int32_t | length | ||
) |
EEPROM PAGE WRITE.
address | :Access location Address. |
p_data | :Source Address of Write data. |
length | :Number of write bytes. |
Number | of write bytes. |
TXZ_Result EEPROM_i2c_WriteProtection | ( | void | ) |
EEPROM_i2c_WriteProtection.
- |
SUCCESS | :Success. |
ERROR | :Failure. |
void irq_usb_uart_err | ( | BSPUsbUart | uart | ) |
USB UART error IRQ.
uart | :USB UART. |
- |
void irq_usb_uart_rx | ( | BSPUsbUart | uart | ) |
USB UART reception IRQ.
uart | :USB UART. |
- |
void irq_usb_uart_tx | ( | BSPUsbUart | uart | ) |
USB UART transmit IRQ.
uart | :USB UART. |
- |
int main | ( | void | ) |
Main Function.
- |
- |