rs232toi2c 2.0.0.0
|
This file contains API for RS232 to I2C Click Driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_i2c_master.h"
Go to the source code of this file.
Data Structures | |
struct | rs232toi2c_t |
RS232 to I2C Click context object. More... | |
struct | rs232toi2c_cfg_t |
RS232 to I2C Click configuration object. More... | |
Enumerations | |
enum | rs232toi2c_return_value_t { RS232TOI2C_OK = 0 , RS232TOI2C_ERROR = -1 } |
RS232 to I2C Click return value data. More... | |
Functions | |
void | rs232toi2c_cfg_setup (rs232toi2c_cfg_t *cfg) |
RS232 to I2C configuration object setup function. | |
err_t | rs232toi2c_init (rs232toi2c_t *ctx, rs232toi2c_cfg_t *cfg) |
RS232 to I2C initialization function. | |
err_t | rs232toi2c_default_cfg (rs232toi2c_t *ctx) |
RS232 to I2C default configuration function. | |
err_t | rs232toi2c_write_command (rs232toi2c_t *ctx, uint8_t cmd, uint8_t *data_in, uint8_t data_len) |
RS232 to I2C write command function. | |
err_t | rs232toi2c_read_command (rs232toi2c_t *ctx, uint8_t cmd, uint8_t *data_out, uint8_t data_len) |
RS232 to I2C read command function. | |
err_t | rs232toi2c_write_eeprom (rs232toi2c_t *ctx, uint16_t address, uint8_t *data_in, uint8_t data_len) |
RS232 to I2C write eeprom function. | |
err_t | rs232toi2c_read_eeprom (rs232toi2c_t *ctx, uint16_t address, uint8_t *data_out, uint8_t data_len) |
RS232 to I2C read eeprom function. | |
err_t | rs232toi2c_erase_eeprom_page (rs232toi2c_t *ctx, uint8_t page_num) |
RS232 to I2C erase eeprom page function. | |
err_t | rs232toi2c_set_gpio_out (rs232toi2c_t *ctx, uint8_t mask, uint8_t state) |
RS232 to I2C set gpio out function. | |
err_t | rs232toi2c_get_gpio_in (rs232toi2c_t *ctx, uint8_t *state) |
RS232 to I2C get gpio in function. | |
err_t | rs232toi2c_write_gpio_config (rs232toi2c_t *ctx, uint8_t sub_cmd, uint8_t mask, uint8_t config) |
RS232 to I2C write gpio config function. | |
err_t | rs232toi2c_read_gpio_config (rs232toi2c_t *ctx, uint8_t sub_cmd, uint8_t *config) |
RS232 to I2C read gpio config function. | |
err_t | rs232toi2c_write_uart_config (rs232toi2c_t *ctx, uint8_t sub_cmd, uint8_t config) |
RS232 to I2C write uart config function. | |
err_t | rs232toi2c_read_uart_config (rs232toi2c_t *ctx, uint8_t *config) |
RS232 to I2C read uart config function. | |
err_t | rs232toi2c_enable_uart (rs232toi2c_t *ctx, uint8_t state) |
RS232 to I2C enable uart function. | |
err_t | rs232toi2c_set_baud_rate (rs232toi2c_t *ctx, uint32_t baud_rate) |
RS232 to I2C set baud rate function. | |
err_t | rs232toi2c_get_baud_rate (rs232toi2c_t *ctx, uint32_t *baud_rate) |
RS232 to I2C get baud rate function. | |
err_t | rs232toi2c_enable_interrupts (rs232toi2c_t *ctx, uint8_t int_mask) |
RS232 to I2C enable interrupts function. | |
err_t | rs232toi2c_get_interrupt_status (rs232toi2c_t *ctx, uint8_t *int_status) |
RS232 to I2C get interrupt status function. | |
err_t | rs232toi2c_get_uart_status (rs232toi2c_t *ctx, uint8_t *uart_status) |
RS232 to I2C get uart status function. | |
err_t | rs232toi2c_get_gpio_status (rs232toi2c_t *ctx, uint8_t *gpio_status) |
RS232 to I2C get gpio status function. | |
err_t | rs232toi2c_write_tx_fifo (rs232toi2c_t *ctx, uint8_t *data_in, uint8_t data_len) |
RS232 to I2C write tx fifo function. | |
err_t | rs232toi2c_read_rx_fifo (rs232toi2c_t *ctx, uint8_t *data_out, uint8_t *data_len) |
RS232 to I2C read rx fifo function. | |
err_t | rs232toi2c_read_system_version (rs232toi2c_t *ctx, uint32_t *system_version) |
RS232 to I2C read system version function. | |
void | rs232toi2c_set_rst_pin (rs232toi2c_t *ctx, uint8_t state) |
RS232 to I2C set rst pin function. | |
void | rs232toi2c_set_wp_pin (rs232toi2c_t *ctx, uint8_t state) |
RS232 to I2C set wp pin function. | |
void | rs232toi2c_reset_device (rs232toi2c_t *ctx) |
RS232 to I2C reset device function. | |
uint8_t | rs232toi2c_get_int_pin (rs232toi2c_t *ctx) |
RS232 to I2C get int pin function. | |
This file contains API for RS232 to I2C Click Driver.