h8s-2172 Renesas Electronics Corporation., h8s-2172 Datasheet - Page 366

no-image

h8s-2172

Manufacturer Part Number
h8s-2172
Description
Renesas 16-bit Single-chip Microcomputer H8s Family H8s-2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
12.3.16 FIFO Clear Register 0 (FCLR0)
FCLR0 is a one-shot register used to clear the FIFO for each endpoint. Writing 1 to a bit clears the
data in the corresponding FIFO.
For IN FIFO, writing 1 to a bit in FCLR0 clears the data for which the corresponding bit in the
packet enable register is not set to 1 after data write, or data that is validated by setting the
corresponding bit in the packet enable register.
For OUT FIFO, writing 1 to a bit in FCLR0 clears data that has been received. EP2 having a dual-
FIFO configuration is cleared by entire FIFOs. Similarly, as for EP1 FIFO with a dual-FIFO
configuration, the only side currently selected is cleared. Note that this trigger does not clear the
corresponding interrupt flag. Accordingly, care must be taken not to clear data that is currently
being received or transmitted.
Bits 6, 5, and 0 are also used as the status bits. The function of the status bit is described in the
lower column of the bit description.
Rev. 2.00, 03/04, page 334 of 534
Bit
31 to 7 
6
Bit Name
EP3CLR
Initial
Value
All 0
0
R/W
W
R
W
Description
Reserved
The write value should always be 0.
EP3 Clear
1 is written when clearing EP3 IN FIFO. Writing 0 is
invalid and no operation is performed.
EP3 FIFO Clear Status
[Setting condition]
This bit is set to 1 when the EP3 FIFO is forcibly cleared
by the FCLR register. When this bit is set to 1, access to
the EP3 FIFO is prohibited. This bit is cleared to 0
automatically after the FIFO is internally cleared. Confirm
that this bit is cleared to 0 and then wait for at least four
cycles, before accessing to the EP3.
[Clearing condition]
This bit cannot be cleared because this bit is a status bit.

Related parts for h8s-2172