OpenOCD
|
Go to the source code of this file.
Functions | |
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_init (uint8_t interface_index) |
RESULT | usbtogpio_out (uint8_t interface_index, uint32_t mask, uint32_t value) |
RESULT usbtogpio_config | ( | uint8_t | interface_index, |
uint32_t | mask, | ||
uint32_t | dir_mask, | ||
uint32_t | pull_en_mask, | ||
uint32_t | input_pull_mask | ||
) |
Definition at line 29 of file usbtogpio.c.
References ERRMSG_INVALID_INTERFACE_NUM, ERROR_FAIL, LOG_BUG, mask, SET_LE_U16, USB_TO_GPIO, and usbtoxxx_conf_command.
RESULT usbtogpio_fini | ( | uint8_t | interface_index | ) |
Definition at line 24 of file usbtogpio.c.
References USB_TO_GPIO, and usbtoxxx_fini_command.
RESULT usbtogpio_in | ( | uint8_t | interface_index, |
uint32_t | mask, | ||
uint32_t * | value | ||
) |
Definition at line 52 of file usbtogpio.c.
References ERRMSG_INVALID_INTERFACE_NUM, ERROR_FAIL, LOG_BUG, mask, SET_LE_U16, USB_TO_GPIO, and usbtoxxx_in_command.
RESULT usbtogpio_init | ( | uint8_t | interface_index | ) |
Definition at line 19 of file usbtogpio.c.
References USB_TO_GPIO, and usbtoxxx_init_command.
RESULT usbtogpio_out | ( | uint8_t | interface_index, |
uint32_t | mask, | ||
uint32_t | value | ||
) |
Definition at line 69 of file usbtogpio.c.
References ERRMSG_INVALID_INTERFACE_NUM, ERROR_FAIL, LOG_BUG, mask, SET_LE_U16, USB_TO_GPIO, and usbtoxxx_out_command.