Searched refs:modbus_adu (Results  1 – 7 of 7) sorted by relevance
| /Zephyr-latest/include/zephyr/modbus/ | 
| D | modbus.h | 72 struct modbus_adu {  struct 409 typedef int (*modbus_raw_cb_t)(const int iface, const struct modbus_adu *adu, 434 				const struct modbus_adu *const rx_adu, 435 				struct modbus_adu *const tx_adu, 572 int modbus_raw_submit_rx(const int iface, const struct modbus_adu *adu); 581 void modbus_raw_put_header(const struct modbus_adu *adu, uint8_t *header); 589 void modbus_raw_get_header(struct modbus_adu *adu, const uint8_t *header); 598 void modbus_raw_set_server_failure(struct modbus_adu *adu); 612 int modbus_raw_backend_txn(const int iface, struct modbus_adu *adu);
  | 
| /Zephyr-latest/subsys/modbus/ | 
| D | modbus_raw.c | 51 int modbus_raw_submit_rx(const int iface, const struct modbus_adu *adu)  in modbus_raw_submit_rx() 79 void modbus_raw_put_header(const struct modbus_adu *adu, uint8_t *header)  in modbus_raw_put_header() 90 void modbus_raw_get_header(struct modbus_adu *adu, const uint8_t *header)  in modbus_raw_get_header() 103 static void modbus_set_exception(struct modbus_adu *adu,  in modbus_set_exception() 113 void modbus_raw_set_server_failure(struct modbus_adu *adu)  in modbus_raw_set_server_failure() 122 int modbus_raw_backend_txn(const int iface, struct modbus_adu *adu)  in modbus_raw_backend_txn() 146 	memcpy(&ctx->tx_adu, adu, sizeof(struct modbus_adu));  in modbus_raw_backend_txn() 158 		memcpy(adu, &ctx->rx_adu, sizeof(struct modbus_adu));  in modbus_raw_backend_txn()
  | 
| D | modbus_internal.h | 119 	struct modbus_adu rx_adu; 121 	struct modbus_adu tx_adu;
  | 
| /Zephyr-latest/tests/subsys/modbus/src/ | 
| D | test_modbus.h | 50 int client_raw_cb(const int iface, const struct modbus_adu *adu, 52 int server_raw_cb(const int iface, const struct modbus_adu *adu,
  | 
| D | test_modbus_raw.c | 12 static struct modbus_adu tmp_adu; 19 int server_raw_cb(const int iface, const struct modbus_adu *adu,  in server_raw_cb() 42 int client_raw_cb(const int iface, const struct modbus_adu *adu,  in client_raw_cb()
  | 
| /Zephyr-latest/samples/subsys/modbus/tcp_server/src/ | 
| D | main.c | 32 			   const struct modbus_adu *rx_adu,  in custom_handler() 33 			   struct modbus_adu *tx_adu,  in custom_handler() 159 static struct modbus_adu tmp_adu; 163 static int server_raw_cb(const int iface, const struct modbus_adu *adu,  in server_raw_cb() 214 static int modbus_tcp_reply(int client, struct modbus_adu *adu)  in modbus_tcp_reply()
  | 
| /Zephyr-latest/samples/subsys/modbus/tcp_gateway/src/ | 
| D | main.c | 18 static struct modbus_adu tmp_adu; 46 static int modbus_tcp_reply(int client, struct modbus_adu *adu)  in modbus_tcp_reply()
  |