Board reset via USB CDC ACM

Trigger a board reset via USB CDC ACM. More...

Detailed Description

Trigger a board reset via USB CDC ACM.

Files

file  usb_board_reset.h
 

Functions

int usb_board_reset_coding_cb (usbus_cdcacm_device_t *cdcacm, uint32_t baud, uint8_t bits, uint8_t parity, uint8_t stop)
 USB coding callback used to trigger the board reset. More...
 
void usb_board_reset_in_application (void)
 Trigger a simple reset, back to the application.
 

Function Documentation

◆ usb_board_reset_coding_cb()

int usb_board_reset_coding_cb ( usbus_cdcacm_device_t cdcacm,
uint32_t  baud,
uint8_t  bits,
uint8_t  parity,
uint8_t  stop 
)

USB coding callback used to trigger the board reset.

Parameters
[in]cdcacmPointer to the cdcacm device
[in]baudBaudrate used by the client. Only 1200 baud is taken into account
[in]bitsNumber of bit mode used by the client
[in]parityParity mode used by the client
[in]stopStop bit mode used by the client
Returns
Always return 0