Siemens C541U User Manual page 103

8-bit cmos microcontroller
Table of Contents

Advertisement

The global endpoint interrupt request register GEPIRn (n=0-4) contaíns one flag for each endpoint
which indicates whether one or more of the eight endpoint specific interrupt requests have become
active. If a request flag in GEPIR is set, it is automatically cleared after a read operation of the
corresponding endpoint specific EPIRn register.
This register contains an additional device interrupt request flag at bit-7. This bit is not automatically
cleared by hardware, but has to be cleared by software. The rest of the device interrupt request
flags can be found in DIRR register.
USB Global Endpoint Interrupt Request Register GEPIR (Address D6 H )
Bit No.
MSB
7
D6 H
DRVI
rw
Bit
Function
DRVI
Device request value interrupt
Bit DRVI is set each time the host sends device request that contains one or more
of the following :
- Configuration Value (through SET_CONFIGURATION device request)
- Alternate Setting (through SET_INTERFACE device request)
- Interface (through SET_INTERFACE device request)
This flag can only be cleared by writing '0' to the bit. Writing '1' to the bit will
be ignored. The device interrupt has to be enabled by bit DRVIE in DPWDR
(address E6
0
Reserved for future use. For compatiblity, these bits have to be ignored in all read
accesses and written with zero in all write accesses.
EPI4
Endpoint 4 interrupt request flag
If EPI4 is set, an endpoint 4 interrupt request is pending.
EPI3
Endpoint 3 interrupt request flag
If EPI3 is set, an endpoint 3 interrupt request is pending.
EPI2
Endpoint 2 interrupt request flag
If EPI2 is set, an endpoint 2 interrupt request is pending.
EPI1
Endpoint 1 interrupt request flag
If EPI1 is set, an endpoint 1 interrupt request is pending.
EPI0
Endpoint 0 interrupt request flag
If EPI0 is set, an endpoint 0 interrupt request is pending.
Bit 4 (GEPIEn) of the specific endpoint buffer control register EPBCn must be set if EPIn should
generate an interrupt. Additionally, bit EA (IEN0.7) and bit EUEI (IEN1.1) must be set when an
endpoint interrupt should be triggered.
Semiconductor Group
6
5
4
0
0
EPI4
r
r
r
).
H
On-Chip Peripheral Components
3
2
EPI3
EPI2
r
r
6-58
Reset Value : 00 H
LSB
1
0
GEPIR
EPI1
EPI0
r
r
1999-04-01
C541U

Advertisement

Table of Contents
loading

Table of Contents