Using the QuickUSB Library
Addr Name
Description
Values
input
0 = PA1 not configured as
interrupt input (default)
Note: INT1 is not currently used
Bit 8: INT0 – Interrupt 0 Alternate
Configuration
1 = PA0 configured as interrupt
input
0 = PA0 not configured as
interrupt input (default)
Note: INT0 is not currently used
LSB=PORTCCFG – I/O Port C
Alternate Configuration Pin
Definitions
Bit 7-0: GPIFA7:0 – Enable GPIF
Address Pins
1 = Set these pins to “1” to
configure this port to output the
GPIF Address
0 = Set these pins to “0” to
configure this port as Port C
15 SETTING_PINFLAGS
Sets FIFO pin flag
configuration
MSB=PINFLAGSAB – Slave FIFO
FLAGA and FLAGB Pin
Configuration
Bit 15-12: FLAGB – FLAGB Show
the status of the FIFO Flag
selected by programming these
bits with the code given below.
Bit 11-8: FLAGA – FLAGA shows
the status of the FIFO Flag
selected by programming these
bits with the code given below.
LSB=PINFLAGSCD
Bit 7-4: FLAGD – FLAGD shows
the status of the FIFO Flag
selected by programming these
bits with the code given below.
Bit 3-0: FLAGC – FLAGC shows
the status of the FIFO Flag
selected by programming these
bits with the code given below.
FIFO Flag Select Codes:
‘0000’ = FLAGA = PF, FLAGB =
FF, FLAGC = EF, FLAGD =
EP2PF. The Endpoint FIFO of
the PF, FF, or EF is selected by
the FIFOADR[1:0] pins.
‘0001’, ‘0010’, ‘0011’ =
Reserved
‘0100’ = EP2PF
‘0101’ = EP4PF
‘0110’ = EP6PF
‘0111’ = EP8PF
‘1000’ = EP2EF
‘1001’ = EP4EF
‘1010’ = EP6EF
‘1011’ = EP8EF
‘1100’ = EP2FF
‘1101’=
EP4FF
‘1110’ = EP6FF
50
QuickUSB Settings