4.4.14.3.16 USB_EndpointInBufferSet()
static ALWAYS_INLINE void USB_EndpointInBufferSet (uint8_t endpointAddress, uint8_t * bufAddress)[static]
Sets endpoint buffer IN.
endpointAddress |
- Address of the endpoint |
bufAddress |
- Address pointer to buffer |
None. |
MISRA C:2012 Deviation Advisory: misra-c2012- 11.4
Justification: A conversion should not be performed between a pointer to object and an integer type. The EP.IN.DATAPTR register is a 16-bit register, expecting an AVR DU specific 16-bit RAM address.