Classes | Macros | Functions | Variables
Usbd_hal

Classes

struct  Endpoint
 
struct  MblTransfer
 
struct  Transfer
 
struct  TransferHeader
 
struct  UdphsDmaDescriptor
 

Macros

#define bmEP(bEP)   (1 << (bEP))
 
#define DMA
 
#define DMAEndpointInt
 
#define EndpointInt
 
#define MBL_FULL   1
 
#define MBL_NbBuffer(i, o, size)   (((i)>(o))?((i)-(o)):((i)+(size)-(o)))
 
#define MBL_NULL   2
 
#define SHIFT_INTERUPT   12
 
#define UDPHS_ENDPOINT_DISABLED   0
 
#define UDPHS_ENDPOINT_HALTED   1
 
#define UDPHS_ENDPOINT_IDLE   2
 
#define UDPHS_ENDPOINT_RECEIVING   4
 
#define UDPHS_ENDPOINT_RECEIVINGM   6
 
#define UDPHS_ENDPOINT_SENDING   3
 
#define UDPHS_ENDPOINT_SENDINGM   5
 

Functions

 COMPILER_ALIGNED (16)
 
static uint8_t UDPHS_AddWr (uint8_t bEndpoint, const void *pData, uint32_t dLength)
 
static void UDPHS_DmaHandler (uint8_t bEndpoint)
 
static void UDPHS_DmaSingle (uint8_t bEndpoint, Transfer *pXfr, uint32_t dwCfg)
 
static void UDPHS_EndpointHandler (uint8_t bEndpoint)
 
static uint8_t UDPHS_MblUpdate (MblTransfer *pTransfer, USBDTransferBuffer *pBi, uint16_t size, uint8_t forceEnd)
 
static uint8_t UDPHS_MblWriteFifo (uint8_t bEndpoint)
 
static uint8_t UDPHS_Read (uint8_t bEndpoint, void *pData, uint32_t dLength)
 
static void UDPHS_ReadPayload (uint8_t bEndpoint, int32_t wPacketSize)
 
static void UDPHS_ReadRequest (USBGenericRequest *pRequest)
 
static uint8_t UDPHS_Write (uint8_t bEndpoint, const void *pData, uint32_t dLength)
 
static void UDPHS_WritePayload (uint8_t bEndpoint, int32_t size)
 
void USBD_HAL_Activate (void)
 
void USBD_HAL_AttachUsb (void)
 
void USBD_HAL_CancelIo (uint32_t bmEPs)
 
uint8_t USBD_HAL_ConfigureEP (const USBEndpointDescriptor *pDescriptor)
 
void USBD_HAL_Connect (void)
 Enable Pull-up, connect. More...
 
void USBD_HAL_DetachUsb (void)
 
void USBD_HAL_Disable (void)
 
void USBD_HAL_Disconnect (void)
 Disable Pull-up, disconnect. More...
 
void USBD_HAL_Enable (void)
 
uint8_t USBD_HAL_Halt (uint8_t bEndpoint, uint8_t ctl)
 
void USBD_HAL_Init (void)
 
uint8_t USBD_HAL_IsHighSpeed (void)
 
uint8_t USBD_HAL_Read (uint8_t bEndpoint, void *pData, uint32_t dLength)
 
void USBD_HAL_RemoteWakeUp (void)
 
void USBD_HAL_ResetEPs (uint32_t bmEPs, uint8_t bStatus, uint8_t bKeepCfg)
 Reset endpoints and disable them.

  1. Terminate transfer if there is any, with given status;
  2. Reset the endpoint & disable it.
More...
 
void USBD_HAL_SetAddress (uint8_t address)
 
void USBD_HAL_SetConfiguration (uint8_t cfgnum)
 
uint8_t USBD_HAL_SetTransferCallback (uint8_t bEP, TransferCallback fCallback, void *pCbData)
 
uint8_t USBD_HAL_SetupMblTransfer (uint8_t bEndpoint, USBDTransferBuffer *pMbList, uint16_t mblSize, uint16_t startOffset)
 
uint8_t USBD_HAL_Stall (uint8_t bEP)
 
void USBD_HAL_Suspend (void)
 
void USBD_HAL_Test (uint8_t bIndex)
 
void USBD_HAL_WaitReadData (uint8_t bEndpoint)
 
uint8_t USBD_HAL_Write (uint8_t bEndpoint, const void *pData, uint32_t dLength)
 
uint8_t USBD_HAL_WrWithHdr (uint8_t bEndpoint, const void *pHdr, uint8_t bHdrLen, const void *pData, uint32_t dLength)
 
void USBHS_Handler (void)
 

Variables

static Endpoint endpoints [CHIP_USB_NUMENDPOINTS]
 
static const char test_packet_buffer []
 

Detailed Description

Macro Definition Documentation

◆ bmEP

#define bmEP (   bEP)    (1 << (bEP))

Get bitmap for an endpoint

Definition at line 60 of file USBD_HAL.h.

◆ DMA

#define DMA

Definition at line 60 of file USBD_HAL.c.

◆ DMAEndpointInt

#define DMAEndpointInt
Value:
#define USBHS_DEVISR_DMA_5
(USBHS_DEVISR) DMA Channel 5 Interrupt
#define USBHS_DEVISR_DMA_3
(USBHS_DEVISR) DMA Channel 3 Interrupt
#define USBHS_DEVISR_DMA_6
(USBHS_DEVISR) DMA Channel 6 Interrupt
#define USBHS_DEVISR_DMA_2
(USBHS_DEVISR) DMA Channel 2 Interrupt
#define USBHS_DEVISR_DMA_7
(USBHS_DEVISR) DMA Channel 7 Interrupt
#define USBHS_DEVISR_DMA_1
(USBHS_DEVISR) DMA Channel 1 Interrupt

Definition at line 66 of file USBD_HAL.h.

◆ EndpointInt

#define EndpointInt
Value:
USBHS_DEVISR_PEP_8 | USBHS_DEVISR_PEP_9 | USBHS_DEVISR_PEP_10 | USBHS_DEVISR_PEP_11 )
#define USBHS_DEVISR_PEP_9
(USBHS_DEVISR) Endpoint 9 Interrupt
#define USBHS_DEVISR_PEP_1
(USBHS_DEVISR) Endpoint 1 Interrupt
#define USBHS_DEVISR_PEP_7
(USBHS_DEVISR) Endpoint 7 Interrupt
#define USBHS_DEVISR_PEP_3
(USBHS_DEVISR) Endpoint 3 Interrupt
#define USBHS_DEVISR_PEP_5
(USBHS_DEVISR) Endpoint 5 Interrupt
#define USBHS_DEVISR_PEP_0
(USBHS_DEVISR) Endpoint 0 Interrupt
#define USBHS_DEVISR_PEP_6
(USBHS_DEVISR) Endpoint 6 Interrupt
#define USBHS_DEVISR_PEP_2
(USBHS_DEVISR) Endpoint 2 Interrupt

Definition at line 62 of file USBD_HAL.h.

◆ MBL_FULL

#define MBL_FULL   1

Buffer list is full

Definition at line 105 of file USBD_HAL.c.

◆ MBL_NbBuffer

#define MBL_NbBuffer (   i,
  o,
  size 
)    (((i)>(o))?((i)-(o)):((i)+(size)-(o)))

Get Number of buffer in Multi-Buffer-List

Parameters
iinput index
ooutput index
sizelist size

Definition at line 102 of file USBD_HAL.c.

◆ MBL_NULL

#define MBL_NULL   2

Buffer list is null

Definition at line 107 of file USBD_HAL.c.

◆ SHIFT_INTERUPT

#define SHIFT_INTERUPT   12

Bits that should be shifted to access interrupt bits.

Definition at line 64 of file USBD_HAL.c.

◆ UDPHS_ENDPOINT_DISABLED

#define UDPHS_ENDPOINT_DISABLED   0

"UDP Endpoint states"

This page lists the endpoint states.

States

  • UDPHS_ENDPOINT_DISABLED
  • UDPHS_ENDPOINT_HALTED
  • UDPHS_ENDPOINT_IDLE
  • UDPHS_ENDPOINT_SENDING
  • UDPHS_ENDPOINT_RECEIVING
  • UDPHS_ENDPOINT_SENDINGM
  • UDPHS_ENDPOINT_RECEIVINGMEndpoint states: Endpoint is disabled

Definition at line 82 of file USBD_HAL.c.

◆ UDPHS_ENDPOINT_HALTED

#define UDPHS_ENDPOINT_HALTED   1

Endpoint states: Endpoint is halted (i.e. STALLs every request)

Definition at line 84 of file USBD_HAL.c.

◆ UDPHS_ENDPOINT_IDLE

#define UDPHS_ENDPOINT_IDLE   2

Endpoint states: Endpoint is idle (i.e. ready for transmission)

Definition at line 86 of file USBD_HAL.c.

◆ UDPHS_ENDPOINT_RECEIVING

#define UDPHS_ENDPOINT_RECEIVING   4

Endpoint states: Endpoint is receiving data

Definition at line 90 of file USBD_HAL.c.

◆ UDPHS_ENDPOINT_RECEIVINGM

#define UDPHS_ENDPOINT_RECEIVINGM   6

Endpoint states: Endpoint is receiving MBL

Definition at line 94 of file USBD_HAL.c.

◆ UDPHS_ENDPOINT_SENDING

#define UDPHS_ENDPOINT_SENDING   3

Endpoint states: Endpoint is sending data

Definition at line 88 of file USBD_HAL.c.

◆ UDPHS_ENDPOINT_SENDINGM

#define UDPHS_ENDPOINT_SENDINGM   5

Endpoint states: Endpoint is sending MBL

Definition at line 92 of file USBD_HAL.c.

Function Documentation

◆ COMPILER_ALIGNED()

COMPILER_ALIGNED ( 16  )

DMA link list

Definition at line 221 of file USBD_HAL.c.

◆ UDPHS_AddWr()

static uint8_t UDPHS_AddWr ( uint8_t  bEndpoint,
const void *  pData,
uint32_t  dLength 
)
inlinestatic

Sends data through a USB endpoint. Sets up the transfer descriptor list, writes one or two data payloads (depending on the number of FIFO bank for the endpoint) and then starts the actual transfer. The operation is complete when all the transfer buffer in the list has been sent.

If the size of the buffer is greater than the size of the endpoint (or twice the size if the endpoint has two FIFO banks), then the buffer must be kept allocated until the transfer is finished. This means that it is not possible to declare it on the stack (i.e. as a local variable of a function which returns after starting a transfer).

Parameters
pEndpointPointer to Endpoint struct.
pDataPointer to a buffer with the data to send.
dLengthSize of the data buffer.
Returns
USBD_STATUS_SUCCESS if the transfer has been started; otherwise, the corresponding error status code.

Definition at line 869 of file USBD_HAL.c.

◆ UDPHS_DmaHandler()

static void UDPHS_DmaHandler ( uint8_t  bEndpoint)
static

Endpoint DMA interrupt handler. This function handles DMA interrupts.

Parameters
bEndpointIndex of endpoint

Definition at line 687 of file USBD_HAL.c.

◆ UDPHS_DmaSingle()

static void UDPHS_DmaSingle ( uint8_t  bEndpoint,
Transfer pXfr,
uint32_t  dwCfg 
)
inlinestatic

DMA Single transfer

Parameters
bEndpointEP number. Pointer to transfer instance. DMA Control configuration (excluding length).

Definition at line 663 of file USBD_HAL.c.

◆ UDPHS_EndpointHandler()

static void UDPHS_EndpointHandler ( uint8_t  bEndpoint)
static

Endpoint interrupt handler. Handle IN/OUT transfers, received SETUP packets and STALLing

Parameters
bEndpointIndex of endpoint

Definition at line 470 of file USBD_HAL.c.

◆ UDPHS_MblUpdate()

static uint8_t UDPHS_MblUpdate ( MblTransfer pTransfer,
USBDTransferBuffer pBi,
uint16_t  size,
uint8_t  forceEnd 
)
static

Update multi-buffer-transfer descriptors.

Parameters
pTransferPointer to instance MblTransfer.
sizeSize of bytes that processed.
forceEndForce the buffer END.
Returns
1 if current buffer ended.

Definition at line 290 of file USBD_HAL.c.

◆ UDPHS_MblWriteFifo()

static uint8_t UDPHS_MblWriteFifo ( uint8_t  bEndpoint)
static

Transfers a data payload from the current transfer buffer to the endpoint FIFO

Parameters
bEndpointNumber of the endpoint which is sending data.

Definition at line 331 of file USBD_HAL.c.

◆ UDPHS_Read()

static uint8_t UDPHS_Read ( uint8_t  bEndpoint,
void *  pData,
uint32_t  dLength 
)
inlinestatic

Reads incoming data on an USB endpoint This methods sets the transfer descriptor and activate the endpoint interrupt. The actual transfer is then carried out by the endpoint interrupt handler. The Read operation finishes either when the buffer is full, or a short packet (inferior to endpoint maximum size) is received.

The buffer must be kept allocated until the transfer is finished.

Parameters
bEndpointEndpoint number.
pDataPointer to a data buffer.
dLengthSize of the data buffer in bytes.
Returns
USBD_STATUS_SUCCESS if the read operation has been started; otherwise, the corresponding error code.

Definition at line 949 of file USBD_HAL.c.

◆ UDPHS_ReadPayload()

static void UDPHS_ReadPayload ( uint8_t  bEndpoint,
int32_t  wPacketSize 
)
static

Transfers a data payload from an endpoint FIFO to the current transfer buffer

Parameters
bEndpointEndpoint number.
wPacketSizeSize of received data packet

Definition at line 420 of file USBD_HAL.c.

◆ UDPHS_ReadRequest()

static void UDPHS_ReadRequest ( USBGenericRequest pRequest)
static

Received SETUP packet from endpoint 0 FIFO

Parameters
pRequestGeneric USB SETUP request sent over Control endpoints

Definition at line 451 of file USBD_HAL.c.

◆ UDPHS_Write()

static uint8_t UDPHS_Write ( uint8_t  bEndpoint,
const void *  pData,
uint32_t  dLength 
)
inlinestatic

Sends data through a USB endpoint. Sets up the transfer descriptor, writes one or two data payloads (depending on the number of FIFO bank for the endpoint) and then starts the actual transfer. The operation is complete when all the data has been sent.

If the size of the buffer is greater than the size of the endpoint (or twice the size if the endpoint has two FIFO banks), then the buffer must be kept allocated until the transfer is finished. This means that it is not possible to declare it on the stack (i.e. as a local variable of a function which returns after starting a transfer).

Parameters
pEndpointPointer to Endpoint struct.
pDataPointer to a buffer with the data to send.
dLengthSize of the data buffer.
Returns
USBD_STATUS_SUCCESS if the transfer has been started; otherwise, the corresponding error status code.

Definition at line 790 of file USBD_HAL.c.

◆ UDPHS_WritePayload()

static void UDPHS_WritePayload ( uint8_t  bEndpoint,
int32_t  size 
)
static

Transfers a data payload from the current transfer buffer to the endpoint FIFO

Parameters
bEndpointNumber of the endpoint which is sending data.

Definition at line 389 of file USBD_HAL.c.

◆ USBD_HAL_Activate()

void USBD_HAL_Activate ( void  )

Activate USB Device HW Interface

  1. Enable USB Peripheral
  2. Enable USB Clock
  3. Enable transceiver

Definition at line 1922 of file USBD_HAL.c.

◆ USBD_HAL_AttachUsb()

void USBD_HAL_AttachUsb ( void  )

◆ USBD_HAL_CancelIo()

void USBD_HAL_CancelIo ( uint32_t  bmEPs)

Cancel pending READ/WRITE

Parameters
bmEPsBitmap for endpoints to reset.
Note
EP callback is invoked with USBD_STATUS_CANCELED.

Definition at line 1163 of file USBD_HAL.c.

◆ USBD_HAL_ConfigureEP()

uint8_t USBD_HAL_ConfigureEP ( const USBEndpointDescriptor *  pDescriptor)

Configures an endpoint according to its endpoint Descriptor.

Parameters
pDescriptorPointer to an endpoint descriptor.
Returns
The endpoint address.

Definition at line 1188 of file USBD_HAL.c.

◆ USBD_HAL_Connect()

void USBD_HAL_Connect ( void  )

Enable Pull-up, connect.

  1. Enable HW access if needed
  2. Enable Pull-Up
  3. Disable HW access if needed

Definition at line 1635 of file USBD_HAL.c.

◆ USBD_HAL_DetachUsb()

void USBD_HAL_DetachUsb ( void  )

◆ USBD_HAL_Disable()

void USBD_HAL_Disable ( void  )

Definition at line 1927 of file USBD_HAL.c.

◆ USBD_HAL_Disconnect()

void USBD_HAL_Disconnect ( void  )

Disable Pull-up, disconnect.

  1. Enable HW access if needed
  2. Disable PULL-Up
  3. Disable HW access if needed

Definition at line 1684 of file USBD_HAL.c.

◆ USBD_HAL_Enable()

void USBD_HAL_Enable ( void  )

◆ USBD_HAL_Halt()

uint8_t USBD_HAL_Halt ( uint8_t  bEndpoint,
uint8_t  ctl 
)

Sets/Clear/Get the HALT state on the endpoint. In HALT state, the endpoint should keep stalling any packet.

Parameters
bEndpointEndpoint number.
ctlControl code CLR/HALT/READ. 0: Clear HALT state; 1: Set HALT state; .: Return HALT status.
Returns
USBD_STATUS_INVALID_PARAMETER if endpoint not exist, otherwise endpoint halt status.

Definition at line 1809 of file USBD_HAL.c.

◆ USBD_HAL_Init()

void USBD_HAL_Init ( void  )

Initializes the USB HW Access driver.

Disable USB hardware

Enable USB hardware

Definition at line 1734 of file USBD_HAL.c.

◆ USBD_HAL_IsHighSpeed()

uint8_t USBD_HAL_IsHighSpeed ( void  )

Indicates if the device is running in high or full-speed. Always returns 0 since UDP does not support high-speed mode.

Definition at line 1898 of file USBD_HAL.c.

◆ USBD_HAL_Read()

uint8_t USBD_HAL_Read ( uint8_t  bEndpoint,
void *  pData,
uint32_t  dLength 
)

Reads incoming data on an USB endpoint This methods sets the transfer descriptor and activate the endpoint interrupt. The actual transfer is then carried out by the endpoint interrupt handler. The Read operation finishes either when the buffer is full, or a short packet (inferior to endpoint maximum size) is received.

The buffer must be kept allocated until the transfer is finished.

Parameters
bEndpointEndpoint number.
pDataPointer to a data buffer.
dLengthSize of the data buffer in bytes.
Returns
USBD_STATUS_SUCCESS if the read operation has been started; otherwise, the corresponding error code.

Definition at line 1618 of file USBD_HAL.c.

◆ USBD_HAL_RemoteWakeUp()

void USBD_HAL_RemoteWakeUp ( void  )

Starts a remote wake-up procedure.

Definition at line 1694 of file USBD_HAL.c.

◆ USBD_HAL_ResetEPs()

void USBD_HAL_ResetEPs ( uint32_t  bmEPs,
uint8_t  bStatus,
uint8_t  bKeepCfg 
)

Reset endpoints and disable them.

  1. Terminate transfer if there is any, with given status;
  2. Reset the endpoint & disable it.

Parameters
bmEPsBitmap for endpoints to reset.
bStatusStatus passed to terminate transfer on endpoint.
bKeepCfg1 to keep old endpoint configuration.
Note
Use USBD_HAL_ConfigureEP() to configure and enable endpoint if not keeping old configuration.
See also
USBD_HAL_ConfigureEP().

Definition at line 1119 of file USBD_HAL.c.

◆ USBD_HAL_SetAddress()

void USBD_HAL_SetAddress ( uint8_t  address)

Sets the device address to the given value.

Parameters
addressNew device address.

Definition at line 1711 of file USBD_HAL.c.

◆ USBD_HAL_SetConfiguration()

void USBD_HAL_SetConfiguration ( uint8_t  cfgnum)

Sets the current device configuration.

Parameters
cfgnum- Configuration number to set.

Definition at line 1725 of file USBD_HAL.c.

◆ USBD_HAL_SetTransferCallback()

uint8_t USBD_HAL_SetTransferCallback ( uint8_t  bEP,
TransferCallback  fCallback,
void *  pCbData 
)

Set callback for a USB endpoint for transfer (read/write).

Parameters
bEPEndpoint number.
fCallbackOptional callback function to invoke when the transfer is complete.
pCbDataOptional pointer to data to the callback function.
Returns
USBD_STATUS_SUCCESS or USBD_STATUS_LOCKED if endpoint is busy.

Definition at line 1340 of file USBD_HAL.c.

◆ USBD_HAL_SetupMblTransfer()

uint8_t USBD_HAL_SetupMblTransfer ( uint8_t  bEndpoint,
USBDTransferBuffer pMbList,
uint16_t  mblSize,
uint16_t  startOffset 
)

Configure an endpoint to use multi-buffer-list transfer mode. The buffers can be added by _Read/_Write function.

Parameters
pMbListPointer to a multi-buffer list used, NULL to disable MBL.
mblSizeMulti-buffer list size (number of buffers can be queued)
startOffsetWhen number of buffer achieve this offset transfer start

Definition at line 1365 of file USBD_HAL.c.

◆ USBD_HAL_Stall()

uint8_t USBD_HAL_Stall ( uint8_t  bEP)

Causes the given endpoint to acknowledge the next packet it receives with a STALL handshake except setup request.

Parameters
bEPEndpoint number.
Returns
USBD_STATUS_SUCCESS or USBD_STATUS_LOCKED.

Definition at line 1779 of file USBD_HAL.c.

◆ USBD_HAL_Suspend()

void USBD_HAL_Suspend ( void  )

Suspend USB Device HW Interface

  1. Disable transceiver
  2. Disable USB Clock
  3. Disable USB Peripheral

Definition at line 1910 of file USBD_HAL.c.

◆ USBD_HAL_Test()

void USBD_HAL_Test ( uint8_t  bIndex)

Certification test for High Speed device.

Parameters
bIndexTest to be done

Definition at line 1943 of file USBD_HAL.c.

◆ USBD_HAL_WaitReadData()

void USBD_HAL_WaitReadData ( uint8_t  bEndpoint)

Wait for data to read and then return

Parameters
bEndpointEndpoint number

Definition at line 1887 of file USBD_HAL.c.

◆ USBD_HAL_Write()

uint8_t USBD_HAL_Write ( uint8_t  bEndpoint,
const void *  pData,
uint32_t  dLength 
)

Sends data through a USB endpoint. Sets up the transfer descriptor, writes one or two data payloads (depending on the number of FIFO bank for the endpoint) and then starts the actual transfer. The operation is complete when all the data has been sent.

If the size of the buffer is greater than the size of the endpoint (or twice the size if the endpoint has two FIFO banks), then the buffer must be kept allocated until the transfer is finished. This means that it is not possible to declare it on the stack (i.e. as a local variable of a function which returns after starting a transfer).

Parameters
bEndpointEndpoint number.
pDataPointer to a buffer with the data to send.
dLengthSize of the data buffer.
Returns
USBD_STATUS_SUCCESS if the transfer has been started; otherwise, the corresponding error status code.

Definition at line 1429 of file USBD_HAL.c.

◆ USBD_HAL_WrWithHdr()

uint8_t USBD_HAL_WrWithHdr ( uint8_t  bEndpoint,
const void *  pHdr,
uint8_t  bHdrLen,
const void *  pData,
uint32_t  dLength 
)

Special write function. Sends data through a USB endpoint. Sets up the transfer descriptor, writes header and one or two data payloads (depending on the number of FIFO bank for the endpoint) and then starts the actual transfer. The operation is complete when all the data has been sent.

If the size of the buffer is greater than the size of the endpoint (or twice the size if the endpoint has two FIFO banks), then the buffer must be kept allocated until the transfer is finished. This means that it is not possible to declare it on the stack (i.e. as a local variable of a function which returns after starting a transfer).

Parameters
bEndpointEndpoint number.
pDataPointer to a buffer with the data to send.
dLengthSize of the data buffer.
Returns
USBD_STATUS_SUCCESS if the transfer has been started; otherwise, the corresponding error status code.

Definition at line 1458 of file USBD_HAL.c.

◆ USBHS_Handler()

void USBHS_Handler ( void  )

USBD (UDP) interrupt handler Manages device resume, suspend, end of bus reset. Forwards endpoint events to the appropriate handler.

Definition at line 1008 of file USBD_HAL.c.

Variable Documentation

◆ endpoints

Endpoint endpoints[CHIP_USB_NUMENDPOINTS]
static

Holds the internal state for each endpoint of the UDP.

Definition at line 207 of file USBD_HAL.c.

◆ test_packet_buffer

const char test_packet_buffer[]
static
Initial value:
= {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA,
0xEE, 0xEE, 0xEE, 0xEE, 0xEE, 0xEE, 0xEE, 0xEE,
0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0x7F, 0xBF, 0xDF, 0xEF, 0xF7, 0xFB, 0xFD,
0xFC, 0x7E, 0xBF, 0xDF, 0xEF, 0xF7, 0xFB, 0xFD, 0x7E
}

7.1.20 Test Mode Support Test codes for the USB HS test mode.

Definition at line 211 of file USBD_HAL.c.



inertial_sense_ros
Author(s):
autogenerated on Sun Feb 28 2021 03:18:02