4.2 Specific MISRA C:2012 deviations
This page contains all Specific MISRA C:2012 deviations.
Note:
Any project deviations are documented in Project MISRA C:2012 deviations
.- Global USB_DESCRIPTOR_PTR_t
-
Advisory: misra-c2012-19.2
Justification: Needed for the stack to parse through the configuration descriptors without pointer casting between the different descriptor types and uint8_t. - Global USB_EndpointInBufferSet (uint8_t endpointAddress, uint8_t *bufAddress)
-
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. - Global USB_EndpointOutBufferSet (uint8_t endpointAddress, uint8_t *bufAddress)
-
Advisory: misra-c2012- 11.4
Justification: A conversion should not be performed between a pointer to object and an integer type. The EP.OUT.DATAPTR register is a 16-bit register, expecting an AVR DU specific 16-bit RAM address.