SM59A16U1
8-Bit Micro-controller
64KB with ISP Flash
& 6K+256B RAM embedded
19.7
USB Control 2 Register( UCTRL2 )
Mnemonic: UCTRL2
Address: FFh
7
6
5
4
3
2
1
0
Reset
RWKU RWKU PUR2_F
PEN W_CTRL
PUR_
SW
PUR_
SW
-
02H
P
RWKUP_EN: Remote wakeup function enabled flag.
This enable function was set by HOST using set feature command and cleared by HOST
using clear feature command.
0 = Disable.
1 = Enable.
RWKUP_EN: Remote wakeup signal.
Write this bit 1 to generate 1 pulse to inform USB_IF and UDC to do remote wakeup
procedure
RUP2_FW_CTRL: Pull up resistor 2 firmware control enable bit.
0 = follow hardware pull up circuit.
1 = control by RUP2_SW (UCTRL2 bit 1).
RUP2_SW: Pull up resistor 2 switch control bit.
0 = open.
1 = close.
RUP1_SW: Pull up resistor 1 switch control bit.
0 = open.
1 = close.
19.8
USB Status Register( USTAT )
Mnemonic: USTAT
Address: F6h
7
SPEE
D
6
5
4
3
2
1
0
SET
UP
Reset
ALT_V INTF_
AL VAL
CFG_
VAL
EP0_
DTYPE
PLL_FS[1:0]
00H
SPEED: USB speed status.
0 = Low speed.
1 = Full speed.
PLL_FS[1:0]: PLL input reference clock status:
00: 6MHz (external crystal).
01: 12MHz (external crystal).
10: 24MHz (external crystal).
ALT_VALL: Current alternate value.
INTF_VAL: Current interface value.
CFG_VAL: Current configuration value.
EP0_DTYPE: EP0 data type indicator. This bit is used to indicate EP0 received pkt is IN pkt or OUT pkt.
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M071 Ver A SM59A16U1 04/12/2013
- 121 -