I would start by doubling REPORT SIZE only.
I would use a word for ADCIN, then move high and low nibble into 2 array elements individually (ie: high nibble to USBBuffer[0] and low nibble to...
Type: Posts; User: Demon; Keyword(s):
I would start by doubling REPORT SIZE only.
I would use a word for ADCIN, then move high and low nibble into 2 array elements individually (ie: high nibble to USBBuffer[0] and low nibble to...
USB descriptor doesn't care about bits, it deals in bytes.
10 bits will take 2 bytes from PBP (word). You can move high and low bytes individually from word into 2 bytes in descriptor.
Look...