13 #include "../versaloon_include.h"
14 #include "../versaloon.h"
15 #include "../versaloon_internal.h"
30 uint32_t dir_mask, uint32_t pull_en_mask,
31 uint32_t input_pull_mask)
36 if (interface_index > 7) {
57 if (interface_index > 7) {
66 (uint8_t *)value, 0, 2, 0);
74 if (interface_index > 7) {
RESULT usbtogpio_init(uint8_t interface_index)
RESULT usbtogpio_config(uint8_t interface_index, uint32_t mask, uint32_t dir_mask, uint32_t pull_en_mask, uint32_t input_pull_mask)
RESULT usbtogpio_fini(uint8_t interface_index)
RESULT usbtogpio_in(uint8_t interface_index, uint32_t mask, uint32_t *value)
RESULT usbtogpio_out(uint8_t interface_index, uint32_t mask, uint32_t value)
#define usbtoxxx_in_command(type, port, cmdbuf, cmdlen, retlen, wantbuf, wantpos, wantlen, c)
#define usbtoxxx_conf_command(type, port, cmdbuf, cmdlen)
#define usbtoxxx_init_command(type, port)
#define usbtoxxx_out_command(type, port, cmdbuf, cmdlen, c)
#define usbtoxxx_fini_command(type, port)
#define ERRMSG_INVALID_INTERFACE_NUM