Pseudonoise Pulse-Width Light Modulator
7-51
MPU Public Peripherals
7.6.2
PWL Registers
The PWL is connected to the host with a TIPB. The PWL control is done with
two 8-bit registers. All TIPB accesses are done asynchronously with the
32-kHz clock, meaning there is no TIPB wait-state insertion.
Table 7–41 lists the PWL registers. Table 7–42 and Table 7–43 describe the
individual registers.
Start address (hex): FFFB:5800
Table 7–41. PWL Registers
Name
Description
R/W
Size
Address
Offset
PWL_LEVEL
PWL-level
R/W
8 bits
FFFB:5800
0x00
PWL_CTRL
PWL control
R/W
8 bits
FFFB:5800
0x04
Table 7–42. PWL Level Register (PWL_LEVEL)
Offset address (hex): 0x00
Bit
Name
Function
Reset
Value
7–0
PWL_LEVEL
Defines the mean value of the PWL output signal. 0
leads to a continuous 0 output. 255 to an almost
continuous 1 output: 255/256 cycles in high level.
0
Table 7–43. PWL Control Register (PWL_CTRL)
Offset address (hex): 0x04
Bit
Name
Function
Reset
Value
7–1
–
Reserved
0
CLK_ENABLE
Internal clock is enabled when 1.
0