Datasheet

1159
SAM3X / SAM3A [DATASHEET]
Atmel-11057C-ATARM-SAM3X-SAM3A-Datasheet_23-Mar-15
39.6.3.12 Host Pipe Register
Name: UOTGHS_HSTPIP
Address: 0x400AC41C
Access: Read-write
•PRSTx: Pipe x Reset
Writing a one to this bit will reset the Pipe x FIFO.
This resets the endpoint x registers (UOTGHS_HSTPIPCFGx, UOTGHS_HSTPIPISRx, UOTGHS_HSTPIPIMRx) but not
the endpoint configuration (ALLOC, PBK, PSIZE, PTOKEN, PTYPE, PEPNUM, INTFRQ).
All the endpoint mechanism (FIFO counter, reception, transmission, etc.) is reset apart from the Data Toggle management.
The endpoint configuration remains active and the endpoint is still enabled.
Writing a zero to this bit will complete the reset operation and allow to start using the FIFO.
PENx: Pipe x Enable
Writing a one to this bit will enable the Pipe x.
Writing a zero to this bit will disable the Pipe x, which forces the Pipe x state to inactive and resets the pipe x registers
(UOTGHS_HSTPIPCFGx, UOTGHS_HSTPIPISRx, UOTGHS_HSTPIPIMRx) but not the pipe configuration
(UOTGHS_HSTPIPCFGx.ALLOC, UOTGHS_HSTPIPCFGx.PBK, UOTGHS_HSTPIPCFGx.PSIZE).
31 30 29 28 27 26 25 24
–––––––PRST8
23 22 21 20 19 18 17 16
PRST7 PRST6 PRST5 PRST4 PRST3 PRST2 PRST1 PRST0
15 14 13 12 11 10 9 8
–––––––PEN8
76543210
PEN7 PEN6 PEN5 PEN4 PEN3 PEN2 PEN1 PEN0