This Question is Not Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
202 Views 2 Replies Last post: Feb 22, 2010 4:35 PM by BradR RSS
BradR Newbie 5 posts since
Feb 16, 2010
Currently Being Moderated

Feb 16, 2010 9:48 AM

H8S/2212 H8S/2218 USB Set_Configuration?

I'm trying to find documentation for the CNFV0 bit in the USB Configuration Value Register (UCVR), in the H8S/2218-H8S/2212 USB module.  The hardware manual says CNFV0 "stores the Configuration value when the Set_Configuration command is received."  The problem is, CNFV0 is a single bit, and the Set_Configuration value is a byte value in the range 1 to 255.  Does anyone know what gets stored for CNFV0?

Tags: usb, h8s/2212, h8s/2218
gpatsil Novice 207 posts since
Feb 10, 2009
Currently Being Moderated
Feb 22, 2010 3:44 PM in response to: BradR
Re: H8S/2212 H8S/2218 USB Set_Configuration?

Well when you set the UCVR register to a byte value lets say: UCVR= 16 that means that bit 5 will be set.... CNFV0 is bit 5 from the 8 bits of the byte.

 

Does that make sense? I believe you can also set a specific bit on a register two if you know the name in this case CNFV0

More Like This

  • Retrieving data ...

Bookmarked By (0)