23#ifndef NILE_MCU_CDC_H_
24#define NILE_MCU_CDC_H_
35 int16_t result, bytes = 0;
46#define nile_mcu_native_cdc_write_async_finish nile_mcu_native_recv_cmd_response_int16
49 int16_t result, bytes = 0;
60#define nile_mcu_native_cdc_available_async_finish nile_mcu_native_recv_cmd_response_int16
static int16_t nile_mcu_native_cdc_available_async_start(void)
static int16_t nile_mcu_native_cdc_write_async_start(const void __far *buffer, uint16_t buflen)
static int16_t nile_mcu_native_cdc_write_sync(const void __far *buffer, uint16_t buflen)
static int16_t nile_mcu_native_cdc_read_sync(void __wf_cram *buffer, uint16_t buflen)
static int16_t nile_mcu_native_cdc_available_sync(void)
static int16_t nile_mcu_native_cdc_clear_sync(void)
int16_t nile_mcu_native_recv_cmd(void __far *buffer, uint16_t buflen)
Receive the response of a "native protocol" MCU command synchronously.
#define NILE_MCU_NATIVE_CMD(cmd, arg)
int16_t nile_mcu_native_recv_cmd_start(uint16_t resplen)
Start receiving the response of a "native protocol" MCU command asynchronously.
static int16_t nile_mcu_native_send_cmd(uint16_t cmd, const void __far *buffer, int buflen)
Send a "native protocol" MCU command asynchronously.