Board reset via USB CDC ACM internals

Callbacks provided by the USB_BOARD_RESET to the ACM subsystem. More...

Detailed Description

Callbacks provided by the USB_BOARD_RESET to the ACM subsystem.

Files

file  usb_board_reset_internal.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...
 

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