OpenOCD
usbtoxxx.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define USB_TO_XXX_ABILITIES_LEN   12
 

Functions

RESULT usbtobdm_fini (uint8_t interface_index)
 
RESULT usbtobdm_init (uint8_t interface_index)
 
RESULT usbtobdm_sync (uint8_t interface_index, uint16_t *khz)
 
RESULT usbtobdm_transact (uint8_t interface_index, uint8_t *out, uint8_t outlen, uint8_t *in, uint8_t inlen, uint8_t delay, uint8_t ack)
 
RESULT usbtoc2_fini (uint8_t interface_index)
 
RESULT usbtoc2_init (uint8_t interface_index)
 
RESULT usbtoc2_readaddr (uint8_t interface_index, uint8_t *data)
 
RESULT usbtoc2_readdata (uint8_t interface_index, uint8_t *buf, uint8_t len)
 
RESULT usbtoc2_writeaddr (uint8_t interface_index, uint8_t addr)
 
RESULT usbtoc2_writedata (uint8_t interface_index, uint8_t *buf, uint8_t len)
 
RESULT usbtodelay_delay (uint16_t dly)
 
RESULT usbtodelay_delayms (uint16_t ms)
 
RESULT usbtodelay_delayus (uint16_t us)
 
RESULT usbtodusi_config (uint8_t interface_index, uint32_t khz, uint8_t mode)
 
RESULT usbtodusi_fini (uint8_t interface_index)
 
RESULT usbtodusi_init (uint8_t interface_index)
 
RESULT usbtodusi_io (uint8_t interface_index, uint8_t *mo, uint8_t *mi, uint8_t *so, uint8_t *si, uint32_t bitlen)
 
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 usbtoi2c_config (uint8_t interface_index, uint16_t khz, uint16_t byte_interval, uint16_t max_dly)
 
RESULT usbtoi2c_fini (uint8_t interface_index)
 
RESULT usbtoi2c_init (uint8_t interface_index)
 
RESULT usbtoi2c_read (uint8_t interface_index, uint16_t chip_addr, uint8_t *data, uint16_t data_len, uint8_t stop, bool nacklast)
 
RESULT usbtoi2c_write (uint8_t interface_index, uint16_t chip_addr, uint8_t *data, uint16_t data_len, uint8_t stop)
 
RESULT usbtoinfo_get_abilities (uint8_t abilities[USB_TO_XXX_ABILITIES_LEN])
 
RESULT usbtoissp_enter_program_mode (uint8_t interface_index, uint8_t mode)
 
RESULT usbtoissp_fini (uint8_t interface_index)
 
RESULT usbtoissp_init (uint8_t interface_index)
 
RESULT usbtoissp_leave_program_mode (uint8_t interface_index, uint8_t mode)
 
RESULT usbtoissp_vector (uint8_t interface_index, uint8_t operate, uint8_t addr, uint8_t data, uint8_t *buf)
 
RESULT usbtoissp_wait_and_poll (uint8_t interface_index)
 
RESULT usbtojtaghl_config (uint8_t interface_index, uint32_t khz, uint8_t ub, uint8_t ua, uint16_t bb, uint16_t ba)
 
RESULT usbtojtaghl_dr (uint8_t interface_index, uint8_t *dr, uint16_t bitlen, uint8_t idle, uint8_t want_ret)
 
RESULT usbtojtaghl_fini (uint8_t interface_index)
 
RESULT usbtojtaghl_init (uint8_t interface_index)
 
RESULT usbtojtaghl_ir (uint8_t interface_index, uint8_t *ir, uint16_t bitlen, uint8_t idle, uint8_t want_ret)
 
RESULT usbtojtaghl_register_callback (uint8_t index, jtag_callback_t send_callback, jtag_callback_t receive_callback)
 
RESULT usbtojtaghl_runtest (uint8_t interface_index, uint32_t cycles)
 
RESULT usbtojtaghl_tms (uint8_t interface_index, uint8_t *tms, uint16_t bitlen)
 
RESULT usbtojtagll_config (uint8_t interface_index, uint32_t khz)
 
RESULT usbtojtagll_fini (uint8_t interface_index)
 
RESULT usbtojtagll_init (uint8_t interface_index)
 
RESULT usbtojtagll_scan (uint8_t interface_index, uint8_t *data, uint16_t bitlen, uint8_t tms_before_valid, uint8_t tms_before, uint8_t tms_after0, uint8_t tms_after1)
 
RESULT usbtojtagll_tms (uint8_t interface_index, uint8_t *tms, uint8_t bytelen)
 
RESULT usbtojtagll_tms_clocks (uint8_t interface_index, uint32_t bytelen, uint8_t tms)
 
RESULT usbtojtagraw_config (uint8_t interface_index, uint32_t khz)
 
RESULT usbtojtagraw_execute (uint8_t interface_index, uint8_t *tdi, uint8_t *tms, uint8_t *tdo, uint32_t bitlen)
 
RESULT usbtojtagraw_fini (uint8_t interface_index)
 
RESULT usbtojtagraw_init (uint8_t interface_index)
 
RESULT usbtolpcicp_config (uint8_t interface_index)
 
RESULT usbtolpcicp_enter_program_mode (uint8_t interface_index)
 
RESULT usbtolpcicp_fini (uint8_t interface_index)
 
RESULT usbtolpcicp_in (uint8_t interface_index, uint8_t *buff, uint16_t len)
 
RESULT usbtolpcicp_init (uint8_t interface_index)
 
RESULT usbtolpcicp_out (uint8_t interface_index, uint8_t *buff, uint16_t len)
 
RESULT usbtolpcicp_poll_ready (uint8_t interface_index, uint8_t data, uint8_t *ret, uint8_t setmask, uint8_t clearmask, uint16_t pollcnt)
 
RESULT usbtomicrowire_config (uint8_t interface_index, uint16_t khz, uint8_t sel_polarity)
 
RESULT usbtomicrowire_fini (uint8_t interface_index)
 
RESULT usbtomicrowire_init (uint8_t interface_index)
 
RESULT usbtomicrowire_poll (uint8_t interface_index, uint16_t interval_us, uint16_t retry_cnt)
 
RESULT usbtomicrowire_transport (uint8_t interface_index, uint32_t opcode, uint8_t opcode_bitlen, uint32_t addr, uint8_t addr_bitlen, uint32_t data, uint8_t data_bitlen, uint8_t *reply, uint8_t reply_bitlen)
 
RESULT usbtomsp430jtag_config (uint8_t interface_index, uint8_t has_test)
 
RESULT usbtomsp430jtag_dr (uint8_t interface_index, uint32_t *dr, uint8_t bitlen, uint8_t want_ret)
 
RESULT usbtomsp430jtag_fini (uint8_t interface_index)
 
RESULT usbtomsp430jtag_init (uint8_t interface_index)
 
RESULT usbtomsp430jtag_ir (uint8_t interface_index, uint8_t *ir, uint8_t want_ret)
 
RESULT usbtomsp430jtag_poll (uint8_t interface_index, uint32_t dr, uint32_t mask, uint32_t value, uint8_t len, uint16_t poll_cnt, uint8_t toggle_tclk)
 
RESULT usbtomsp430jtag_reset (uint8_t interface_index)
 
RESULT usbtomsp430jtag_tclk (uint8_t interface_index, uint8_t value)
 
RESULT usbtomsp430jtag_tclk_strobe (uint8_t interface_index, uint16_t cnt)
 
RESULT usbtomsp430sbw_config (uint8_t interface_index, uint8_t has_test)
 
RESULT usbtomsp430sbw_dr (uint8_t interface_index, uint32_t *dr, uint8_t bitlen, uint8_t want_ret)
 
RESULT usbtomsp430sbw_fini (uint8_t interface_index)
 
RESULT usbtomsp430sbw_init (uint8_t interface_index)
 
RESULT usbtomsp430sbw_ir (uint8_t interface_index, uint8_t *ir, uint8_t want_ret)
 
RESULT usbtomsp430sbw_poll (uint8_t interface_index, uint32_t dr, uint32_t mask, uint32_t value, uint8_t len, uint16_t poll_cnt, uint8_t toggle_tclk)
 
RESULT usbtomsp430sbw_reset (uint8_t interface_index)
 
RESULT usbtomsp430sbw_tclk (uint8_t interface_index, uint8_t value)
 
RESULT usbtomsp430sbw_tclk_strobe (uint8_t interface_index, uint16_t cnt)
 
RESULT usbtopoll_checkfail (uint8_t equ, uint16_t offset, uint8_t size, uint32_t mask, uint32_t value)
 
RESULT usbtopoll_checkok (uint8_t equ, uint16_t offset, uint8_t size, uint32_t mask, uint32_t value)
 
RESULT usbtopoll_end (void)
 
RESULT usbtopoll_start (uint16_t retry_cnt, uint16_t interval_us)
 
RESULT usbtopoll_verifybuff (uint16_t offset, uint16_t size, uint8_t *buff)
 
RESULT usbtopwm_config (uint8_t interface_index, uint16_t khz, uint8_t mode)
 
RESULT usbtopwm_fini (uint8_t interface_index)
 
RESULT usbtopwm_in (uint8_t interface_index, uint16_t count, uint16_t *rate)
 
RESULT usbtopwm_init (uint8_t interface_index)
 
RESULT usbtopwm_out (uint8_t interface_index, uint16_t count, uint16_t *rate)
 
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)
 
RESULT usbtospi_config (uint8_t interface_index, uint32_t khz, uint8_t mode)
 
RESULT usbtospi_fini (uint8_t interface_index)
 
RESULT usbtospi_init (uint8_t interface_index)
 
RESULT usbtospi_io (uint8_t interface_index, uint8_t *out, uint8_t *in, uint16_t bytelen)
 
RESULT usbtoswd_config (uint8_t interface_index, uint8_t trn, uint16_t retry, uint16_t dly)
 
RESULT usbtoswd_fini (uint8_t interface_index)
 
RESULT usbtoswd_init (uint8_t interface_index)
 
RESULT usbtoswd_seqin (uint8_t interface_index, uint8_t *data, uint16_t bitlen)
 
RESULT usbtoswd_seqout (uint8_t interface_index, const uint8_t *data, uint16_t bitlen)
 
RESULT usbtoswd_transact (uint8_t interface_index, uint8_t request, uint32_t *data, uint8_t *ack)
 
RESULT usbtoswim_config (uint8_t interface_index, uint8_t mhz, uint8_t cnt0, uint8_t cnt1)
 
RESULT usbtoswim_enable (uint8_t interface_index)
 
RESULT usbtoswim_fini (uint8_t interface_index)
 
RESULT usbtoswim_init (uint8_t interface_index)
 
RESULT usbtoswim_rotf (uint8_t interface_index, uint8_t *data, uint16_t bytelen, uint32_t addr)
 
RESULT usbtoswim_srst (uint8_t interface_index)
 
RESULT usbtoswim_sync (uint8_t interface_index, uint8_t mhz)
 
RESULT usbtoswim_wotf (uint8_t interface_index, uint8_t *data, uint16_t bytelen, uint32_t addr)
 
RESULT usbtousart_config (uint8_t interface_index, uint32_t baudrate, uint8_t datalength, uint8_t mode)
 
RESULT usbtousart_fini (uint8_t interface_index)
 
RESULT usbtousart_init (uint8_t interface_index)
 
RESULT usbtousart_receive (uint8_t interface_index, uint8_t *buf, uint16_t len)
 
RESULT usbtousart_send (uint8_t interface_index, uint8_t *buf, uint16_t len)
 
RESULT usbtousart_status (uint8_t interface_index, struct usart_status_t *status)
 
RESULT usbtoxxx_execute_command (void)
 
RESULT usbtoxxx_fini (void)
 
RESULT usbtoxxx_init (void)
 
bool usbtoxxx_interface_supported (uint8_t cmd)
 

Variables

uint8_t usbtoxxx_abilities [USB_TO_XXX_ABILITIES_LEN]
 

Macro Definition Documentation

◆ USB_TO_XXX_ABILITIES_LEN

#define USB_TO_XXX_ABILITIES_LEN   12

Definition at line 14 of file usbtoxxx.h.

Function Documentation

◆ usbtobdm_fini()

RESULT usbtobdm_fini ( uint8_t  interface_index)

◆ usbtobdm_init()

RESULT usbtobdm_init ( uint8_t  interface_index)

◆ usbtobdm_sync()

RESULT usbtobdm_sync ( uint8_t  interface_index,
uint16_t *  khz 
)

◆ usbtobdm_transact()

RESULT usbtobdm_transact ( uint8_t  interface_index,
uint8_t *  out,
uint8_t  outlen,
uint8_t *  in,
uint8_t  inlen,
uint8_t  delay,
uint8_t  ack 
)

◆ usbtoc2_fini()

RESULT usbtoc2_fini ( uint8_t  interface_index)

◆ usbtoc2_init()

RESULT usbtoc2_init ( uint8_t  interface_index)

◆ usbtoc2_readaddr()

RESULT usbtoc2_readaddr ( uint8_t  interface_index,
uint8_t *  data 
)

◆ usbtoc2_readdata()

RESULT usbtoc2_readdata ( uint8_t  interface_index,
uint8_t *  buf,
uint8_t  len 
)

◆ usbtoc2_writeaddr()

RESULT usbtoc2_writeaddr ( uint8_t  interface_index,
uint8_t  addr 
)

◆ usbtoc2_writedata()

RESULT usbtoc2_writedata ( uint8_t  interface_index,
uint8_t *  buf,
uint8_t  len 
)

◆ usbtodelay_delay()

◆ usbtodelay_delayms()

RESULT usbtodelay_delayms ( uint16_t  ms)

Definition at line 534 of file usbtoxxx.c.

References usbtodelay_delay().

◆ usbtodelay_delayus()

RESULT usbtodelay_delayus ( uint16_t  us)

Definition at line 539 of file usbtoxxx.c.

References usbtodelay_delay().

◆ usbtodusi_config()

RESULT usbtodusi_config ( uint8_t  interface_index,
uint32_t  khz,
uint8_t  mode 
)

◆ usbtodusi_fini()

RESULT usbtodusi_fini ( uint8_t  interface_index)

◆ usbtodusi_init()

RESULT usbtodusi_init ( uint8_t  interface_index)

◆ usbtodusi_io()

RESULT usbtodusi_io ( uint8_t  interface_index,
uint8_t *  mo,
uint8_t *  mi,
uint8_t *  so,
uint8_t *  si,
uint32_t  bitlen 
)

◆ usbtogpio_config()

RESULT usbtogpio_config ( uint8_t  interface_index,
uint32_t  mask,
uint32_t  dir_mask,
uint32_t  pull_en_mask,
uint32_t  input_pull_mask 
)

◆ usbtogpio_fini()

RESULT usbtogpio_fini ( uint8_t  interface_index)

Definition at line 24 of file usbtogpio.c.

References USB_TO_GPIO, and usbtoxxx_fini_command.

◆ usbtogpio_in()

RESULT usbtogpio_in ( uint8_t  interface_index,
uint32_t  mask,
uint32_t *  value 
)

◆ usbtogpio_init()

RESULT usbtogpio_init ( uint8_t  interface_index)

Definition at line 19 of file usbtogpio.c.

References USB_TO_GPIO, and usbtoxxx_init_command.

◆ usbtogpio_out()

RESULT usbtogpio_out ( uint8_t  interface_index,
uint32_t  mask,
uint32_t  value 
)

◆ usbtoi2c_config()

RESULT usbtoi2c_config ( uint8_t  interface_index,
uint16_t  khz,
uint16_t  byte_interval,
uint16_t  max_dly 
)

◆ usbtoi2c_fini()

RESULT usbtoi2c_fini ( uint8_t  interface_index)

◆ usbtoi2c_init()

RESULT usbtoi2c_init ( uint8_t  interface_index)

◆ usbtoi2c_read()

RESULT usbtoi2c_read ( uint8_t  interface_index,
uint16_t  chip_addr,
uint8_t *  data,
uint16_t  data_len,
uint8_t  stop,
bool  nacklast 
)

◆ usbtoi2c_write()

RESULT usbtoi2c_write ( uint8_t  interface_index,
uint16_t  chip_addr,
uint8_t *  data,
uint16_t  data_len,
uint8_t  stop 
)

◆ usbtoinfo_get_abilities()

◆ usbtoissp_enter_program_mode()

RESULT usbtoissp_enter_program_mode ( uint8_t  interface_index,
uint8_t  mode 
)

◆ usbtoissp_fini()

RESULT usbtoissp_fini ( uint8_t  interface_index)

◆ usbtoissp_init()

RESULT usbtoissp_init ( uint8_t  interface_index)

◆ usbtoissp_leave_program_mode()

RESULT usbtoissp_leave_program_mode ( uint8_t  interface_index,
uint8_t  mode 
)

◆ usbtoissp_vector()

RESULT usbtoissp_vector ( uint8_t  interface_index,
uint8_t  operate,
uint8_t  addr,
uint8_t  data,
uint8_t *  buf 
)

◆ usbtoissp_wait_and_poll()

RESULT usbtoissp_wait_and_poll ( uint8_t  interface_index)

◆ usbtojtaghl_config()

RESULT usbtojtaghl_config ( uint8_t  interface_index,
uint32_t  khz,
uint8_t  ub,
uint8_t  ua,
uint16_t  bb,
uint16_t  ba 
)

◆ usbtojtaghl_dr()

RESULT usbtojtaghl_dr ( uint8_t  interface_index,
uint8_t *  dr,
uint16_t  bitlen,
uint8_t  idle,
uint8_t  want_ret 
)

◆ usbtojtaghl_fini()

RESULT usbtojtaghl_fini ( uint8_t  interface_index)

◆ usbtojtaghl_init()

RESULT usbtojtaghl_init ( uint8_t  interface_index)

◆ usbtojtaghl_ir()

RESULT usbtojtaghl_ir ( uint8_t  interface_index,
uint8_t *  ir,
uint16_t  bitlen,
uint8_t  idle,
uint8_t  want_ret 
)

◆ usbtojtaghl_register_callback()

RESULT usbtojtaghl_register_callback ( uint8_t  index,
jtag_callback_t  send_callback,
jtag_callback_t  receive_callback 
)

◆ usbtojtaghl_runtest()

RESULT usbtojtaghl_runtest ( uint8_t  interface_index,
uint32_t  cycles 
)

◆ usbtojtaghl_tms()

RESULT usbtojtaghl_tms ( uint8_t  interface_index,
uint8_t *  tms,
uint16_t  bitlen 
)

◆ usbtojtagll_config()

RESULT usbtojtagll_config ( uint8_t  interface_index,
uint32_t  khz 
)

◆ usbtojtagll_fini()

RESULT usbtojtagll_fini ( uint8_t  interface_index)

◆ usbtojtagll_init()

RESULT usbtojtagll_init ( uint8_t  interface_index)

◆ usbtojtagll_scan()

RESULT usbtojtagll_scan ( uint8_t  interface_index,
uint8_t *  data,
uint16_t  bitlen,
uint8_t  tms_before_valid,
uint8_t  tms_before,
uint8_t  tms_after0,
uint8_t  tms_after1 
)

◆ usbtojtagll_tms()

RESULT usbtojtagll_tms ( uint8_t  interface_index,
uint8_t *  tms,
uint8_t  bytelen 
)

◆ usbtojtagll_tms_clocks()

RESULT usbtojtagll_tms_clocks ( uint8_t  interface_index,
uint32_t  bytelen,
uint8_t  tms 
)

◆ usbtojtagraw_config()

RESULT usbtojtagraw_config ( uint8_t  interface_index,
uint32_t  khz 
)

◆ usbtojtagraw_execute()

RESULT usbtojtagraw_execute ( uint8_t  interface_index,
uint8_t *  tdi,
uint8_t *  tms,
uint8_t *  tdo,
uint32_t  bitlen 
)

◆ usbtojtagraw_fini()

RESULT usbtojtagraw_fini ( uint8_t  interface_index)

Definition at line 24 of file usbtojtagraw.c.

References USB_TO_JTAG_RAW, and usbtoxxx_fini_command.

◆ usbtojtagraw_init()

RESULT usbtojtagraw_init ( uint8_t  interface_index)

Definition at line 19 of file usbtojtagraw.c.

References USB_TO_JTAG_RAW, and usbtoxxx_init_command.

◆ usbtolpcicp_config()

RESULT usbtolpcicp_config ( uint8_t  interface_index)

◆ usbtolpcicp_enter_program_mode()

RESULT usbtolpcicp_enter_program_mode ( uint8_t  interface_index)

◆ usbtolpcicp_fini()

RESULT usbtolpcicp_fini ( uint8_t  interface_index)

◆ usbtolpcicp_in()

RESULT usbtolpcicp_in ( uint8_t  interface_index,
uint8_t *  buff,
uint16_t  len 
)

◆ usbtolpcicp_init()

RESULT usbtolpcicp_init ( uint8_t  interface_index)

◆ usbtolpcicp_out()

RESULT usbtolpcicp_out ( uint8_t  interface_index,
uint8_t *  buff,
uint16_t  len 
)

◆ usbtolpcicp_poll_ready()

RESULT usbtolpcicp_poll_ready ( uint8_t  interface_index,
uint8_t  data,
uint8_t *  ret,
uint8_t  setmask,
uint8_t  clearmask,
uint16_t  pollcnt 
)

◆ usbtomicrowire_config()

RESULT usbtomicrowire_config ( uint8_t  interface_index,
uint16_t  khz,
uint8_t  sel_polarity 
)

◆ usbtomicrowire_fini()

RESULT usbtomicrowire_fini ( uint8_t  interface_index)

◆ usbtomicrowire_init()

RESULT usbtomicrowire_init ( uint8_t  interface_index)

◆ usbtomicrowire_poll()

RESULT usbtomicrowire_poll ( uint8_t  interface_index,
uint16_t  interval_us,
uint16_t  retry_cnt 
)

◆ usbtomicrowire_transport()

RESULT usbtomicrowire_transport ( uint8_t  interface_index,
uint32_t  opcode,
uint8_t  opcode_bitlen,
uint32_t  addr,
uint8_t  addr_bitlen,
uint32_t  data,
uint8_t  data_bitlen,
uint8_t *  reply,
uint8_t  reply_bitlen 
)

◆ usbtomsp430jtag_config()

RESULT usbtomsp430jtag_config ( uint8_t  interface_index,
uint8_t  has_test 
)

◆ usbtomsp430jtag_dr()

RESULT usbtomsp430jtag_dr ( uint8_t  interface_index,
uint32_t *  dr,
uint8_t  bitlen,
uint8_t  want_ret 
)

◆ usbtomsp430jtag_fini()

RESULT usbtomsp430jtag_fini ( uint8_t  interface_index)

◆ usbtomsp430jtag_init()

RESULT usbtomsp430jtag_init ( uint8_t  interface_index)

◆ usbtomsp430jtag_ir()

RESULT usbtomsp430jtag_ir ( uint8_t  interface_index,
uint8_t *  ir,
uint8_t  want_ret 
)

◆ usbtomsp430jtag_poll()

RESULT usbtomsp430jtag_poll ( uint8_t  interface_index,
uint32_t  dr,
uint32_t  mask,
uint32_t  value,
uint8_t  len,
uint16_t  poll_cnt,
uint8_t  toggle_tclk 
)

◆ usbtomsp430jtag_reset()

RESULT usbtomsp430jtag_reset ( uint8_t  interface_index)

◆ usbtomsp430jtag_tclk()

RESULT usbtomsp430jtag_tclk ( uint8_t  interface_index,
uint8_t  value 
)

◆ usbtomsp430jtag_tclk_strobe()

RESULT usbtomsp430jtag_tclk_strobe ( uint8_t  interface_index,
uint16_t  cnt 
)

◆ usbtomsp430sbw_config()

RESULT usbtomsp430sbw_config ( uint8_t  interface_index,
uint8_t  has_test 
)

◆ usbtomsp430sbw_dr()

RESULT usbtomsp430sbw_dr ( uint8_t  interface_index,
uint32_t *  dr,
uint8_t  bitlen,
uint8_t  want_ret 
)

◆ usbtomsp430sbw_fini()

RESULT usbtomsp430sbw_fini ( uint8_t  interface_index)

◆ usbtomsp430sbw_init()

RESULT usbtomsp430sbw_init ( uint8_t  interface_index)

◆ usbtomsp430sbw_ir()

RESULT usbtomsp430sbw_ir ( uint8_t  interface_index,
uint8_t *  ir,
uint8_t  want_ret 
)

◆ usbtomsp430sbw_poll()

RESULT usbtomsp430sbw_poll ( uint8_t  interface_index,
uint32_t  dr,
uint32_t  mask,
uint32_t  value,
uint8_t  len,
uint16_t  poll_cnt,
uint8_t  toggle_tclk 
)

◆ usbtomsp430sbw_reset()

RESULT usbtomsp430sbw_reset ( uint8_t  interface_index)

◆ usbtomsp430sbw_tclk()

RESULT usbtomsp430sbw_tclk ( uint8_t  interface_index,
uint8_t  value 
)

◆ usbtomsp430sbw_tclk_strobe()

RESULT usbtomsp430sbw_tclk_strobe ( uint8_t  interface_index,
uint16_t  cnt 
)

◆ usbtopoll_checkfail()

◆ usbtopoll_checkok()

◆ usbtopoll_end()

◆ usbtopoll_start()

◆ usbtopoll_verifybuff()

◆ usbtopwm_config()

RESULT usbtopwm_config ( uint8_t  interface_index,
uint16_t  khz,
uint8_t  mode 
)

◆ usbtopwm_fini()

RESULT usbtopwm_fini ( uint8_t  interface_index)

◆ usbtopwm_in()

RESULT usbtopwm_in ( uint8_t  interface_index,
uint16_t  count,
uint16_t *  rate 
)

◆ usbtopwm_init()

RESULT usbtopwm_init ( uint8_t  interface_index)

◆ usbtopwm_out()

RESULT usbtopwm_out ( uint8_t  interface_index,
uint16_t  count,
uint16_t *  rate 
)

◆ 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 
)

◆ usbtospi_config()

RESULT usbtospi_config ( uint8_t  interface_index,
uint32_t  khz,
uint8_t  mode 
)

◆ usbtospi_fini()

RESULT usbtospi_fini ( uint8_t  interface_index)

◆ usbtospi_init()

RESULT usbtospi_init ( uint8_t  interface_index)

◆ usbtospi_io()

RESULT usbtospi_io ( uint8_t  interface_index,
uint8_t *  out,
uint8_t *  in,
uint16_t  bytelen 
)

◆ usbtoswd_config()

RESULT usbtoswd_config ( uint8_t  interface_index,
uint8_t  trn,
uint16_t  retry,
uint16_t  dly 
)

◆ usbtoswd_fini()

RESULT usbtoswd_fini ( uint8_t  interface_index)

Definition at line 47 of file usbtoswd.c.

References USB_TO_SWD, and usbtoxxx_fini_command.

◆ usbtoswd_init()

RESULT usbtoswd_init ( uint8_t  interface_index)

Definition at line 42 of file usbtoswd.c.

References USB_TO_SWD, and usbtoxxx_init_command.

◆ usbtoswd_seqin()

RESULT usbtoswd_seqin ( uint8_t  interface_index,
uint8_t *  data,
uint16_t  bitlen 
)

◆ usbtoswd_seqout()

RESULT usbtoswd_seqout ( uint8_t  interface_index,
const uint8_t *  data,
uint16_t  bitlen 
)

◆ usbtoswd_transact()

RESULT usbtoswd_transact ( uint8_t  interface_index,
uint8_t  request,
uint32_t *  data,
uint8_t *  ack 
)

◆ usbtoswim_config()

RESULT usbtoswim_config ( uint8_t  interface_index,
uint8_t  mhz,
uint8_t  cnt0,
uint8_t  cnt1 
)

◆ usbtoswim_enable()

RESULT usbtoswim_enable ( uint8_t  interface_index)

◆ usbtoswim_fini()

RESULT usbtoswim_fini ( uint8_t  interface_index)

◆ usbtoswim_init()

RESULT usbtoswim_init ( uint8_t  interface_index)

◆ usbtoswim_rotf()

RESULT usbtoswim_rotf ( uint8_t  interface_index,
uint8_t *  data,
uint16_t  bytelen,
uint32_t  addr 
)

◆ usbtoswim_srst()

RESULT usbtoswim_srst ( uint8_t  interface_index)

◆ usbtoswim_sync()

RESULT usbtoswim_sync ( uint8_t  interface_index,
uint8_t  mhz 
)

◆ usbtoswim_wotf()

RESULT usbtoswim_wotf ( uint8_t  interface_index,
uint8_t *  data,
uint16_t  bytelen,
uint32_t  addr 
)

◆ usbtousart_config()

RESULT usbtousart_config ( uint8_t  interface_index,
uint32_t  baudrate,
uint8_t  datalength,
uint8_t  mode 
)

◆ usbtousart_fini()

RESULT usbtousart_fini ( uint8_t  interface_index)

◆ usbtousart_init()

RESULT usbtousart_init ( uint8_t  interface_index)

◆ usbtousart_receive()

RESULT usbtousart_receive ( uint8_t  interface_index,
uint8_t *  buf,
uint16_t  len 
)

◆ usbtousart_send()

RESULT usbtousart_send ( uint8_t  interface_index,
uint8_t *  buf,
uint16_t  len 
)

◆ usbtousart_status()

RESULT usbtousart_status ( uint8_t  interface_index,
struct usart_status_t status 
)

◆ usbtoxxx_execute_command()

◆ usbtoxxx_fini()

RESULT usbtoxxx_fini ( void  )

Definition at line 247 of file usbtoxxx.c.

References ERROR_OK, NULL, type_pre, and usbtoxxx_buffer.

Referenced by versaloon_fini().

◆ usbtoxxx_init()

◆ usbtoxxx_interface_supported()

bool usbtoxxx_interface_supported ( uint8_t  cmd)

Variable Documentation

◆ usbtoxxx_abilities

uint8_t usbtoxxx_abilities[USB_TO_XXX_ABILITIES_LEN]
extern

Definition at line 36 of file usbtoxxx.c.

Referenced by usbtoxxx_init(), and usbtoxxx_interface_supported().