OpenOCD
usbtopwr.c File Reference
Include dependency graph for usbtopwr.c:

Go to the source code of this file.

Functions

RESULT usbtopwr_config (uint8_t interface_index)
 
RESULT usbtopwr_fini (uint8_t interface_index)
 
RESULT usbtopwr_init (uint8_t interface_index)
 
RESULT usbtopwr_output (uint8_t interface_index, uint16_t millivolt)
 

Function Documentation

◆ usbtopwr_config()

RESULT usbtopwr_config ( uint8_t  interface_index)

◆ usbtopwr_fini()

RESULT usbtopwr_fini ( uint8_t  interface_index)

Definition at line 24 of file usbtopwr.c.

References USB_TO_POWER, and usbtoxxx_fini_command.

Referenced by versaloon_set_target_voltage().

◆ usbtopwr_init()

RESULT usbtopwr_init ( uint8_t  interface_index)

Definition at line 19 of file usbtopwr.c.

References USB_TO_POWER, and usbtoxxx_init_command.

Referenced by versaloon_set_target_voltage().

◆ usbtopwr_output()

RESULT usbtopwr_output ( uint8_t  interface_index,
uint16_t  millivolt 
)