
XC161 Derivatives
Peripheral Units (Vol. 2 of 2)
Asynchronous/Synchronous Serial Interface (ASC)
User’s Manual
18-44
V2.2, 2004-01
ASC_X, V2.0
IrDA Pulse Mode/Width Register
The ASC IrDA pulse mode and width register PMW contains the 8-bit IrDA pulse width
value and the IrDA pulse width mode select bit. This register is only required in the IrDA
operating mode.
ASCx_PMW
IrDA Pulse Mode/Width Reg.
SFR (
)
Reset Value: 0000
H
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
-
IRP
W
PW_VALUE
-
rw
rw
Field
Bits
Type
Description
IRPW
8
rw
IrDA Pulse Width Selection
0
IrDA pulse width is 3/16 bit time
1
IrDA pulse width is defined by PW_VALUE
PW_VALUE
[7:0]
rw
IrDA Pulse Width Value
PW_VALUE is the 8-bit value n, which defines the
variable pulse width of an IrDA pulse.
Depending on the ASC input frequency
f
ASC
, this
value can be used to adjust the IrDA pulse width to
value which is not equal 3/16 bit time (e.g. 1.6 ms).