rs232spi 2.0.0.0
|
This file contains API for RS232 SPI Click driver. More...
#include "drv_digital_out.h"
#include "drv_digital_in.h"
#include "drv_spi_master.h"
Go to the source code of this file.
Data Structures | |
struct | rs232spi_t |
Click ctx object definition. More... | |
struct | rs232spi_cfg_t |
Click configuration structure definition. More... | |
Functions | |
void | rs232spi_cfg_setup (rs232spi_cfg_t *cfg) |
Config Object Initialization function. | |
RS232SPI_RETVAL | rs232spi_init (rs232spi_t *ctx, rs232spi_cfg_t *cfg) |
Initialization function. | |
void | rs232spi_default_cfg (rs232spi_t *ctx, uint32_t speed) |
Click Default Configuration function. | |
void | rs232spi_reg_write (rs232spi_t *ctx, uint16_t write_data) |
Register write function. | |
uint8_t | rs232spi_reg_read (rs232spi_t *ctx) |
Register read function. | |
uint16_t | rs232spi_transfer (rs232spi_t *ctx, uint16_t write_data) |
SPI transfer function. | |
uint16_t | rs232spi_read_cfg (rs232spi_t *ctx) |
Read configuration function. | |
void | rs232spi_flush (rs232spi_t *ctx) |
Flush function. | |
uint16_t | rs232spi_data_ready (rs232spi_t *ctx) |
Data ready function. | |
uint16_t | rs232spi_check_busy (rs232spi_t *ctx) |
Check if busy function. | |
void | rs232spi_data_write (rs232spi_t *ctx, uint8_t write_data) |
Data write function. | |
void | rs232spi_digital_write_rst (rs232spi_t *ctx, uint8_t signal) |
Digital write reset function. | |
uint8_t | rs232spi_digital_read_int (rs232spi_t *ctx) |
Digital read interrupt function. | |
This file contains API for RS232 SPI Click driver.