|
void | nplc_cfg_setup (nplc_cfg_t *cfg) |
| N-PLC configuration object setup function. More...
|
|
err_t | nplc_init (nplc_t *ctx, nplc_cfg_t *cfg) |
| N-PLC initialization function. More...
|
|
err_t | nplc_generic_write (nplc_t *ctx, char *data_in, uint16_t len) |
| N-PLC data writing function. More...
|
|
err_t | nplc_generic_read (nplc_t *ctx, char *data_out, uint16_t len) |
| N-PLC data reading function. More...
|
|
void | nplc_set_rst_pin (nplc_t *ctx, uint8_t state) |
| N-PLC set rst pin function. More...
|
|
void | nplc_set_md1_pin (nplc_t *ctx, uint8_t state) |
| N-PLC set md1 pin function. More...
|
|
void | nplc_set_cts_pin (nplc_t *ctx, uint8_t state) |
| N-PLC set cts pin function. More...
|
|
uint8_t | nplc_get_rts_pin (nplc_t *ctx) |
| N-PLC get rts pin function. More...
|
|
void | nplc_hw_reset (nplc_t *ctx) |
| N-PLC hw reset function. More...
|
|
void | nplc_sw_reset (nplc_t *ctx) |
| N-PLC sw reset function. More...
|
|
void | nplc_factory_reset (nplc_t *ctx) |
| N-PLC factory reset function. More...
|
|
void | nplc_firmware_version (nplc_t *ctx) |
| N-PLC firmware version function. More...
|
|
void | nplc_set_mode (nplc_t *ctx, uint8_t mode) |
| N-PLC set mode function. More...
|
|
void | nplc_send_cmd (nplc_t *ctx, char *cmd) |
| N-PLC send command function. More...
|
|
void | nplc_write_s_register (nplc_t *ctx, char *s_reg, char *param_buf) |
| N-PLC write s register function. More...
|
|
void | nplc_read_s_register (nplc_t *ctx, char *s_reg) |
| N-PLC read s register function. More...
|
|
This file contains API for N-PLC Click Driver.