16 16-BIT AUDIO PWM TIMER (T16P)
16-12
Seiko Epson Corporation
S1C33L26 TECHNICAL MANUAL
D[6:0]
VOLSEL[6:0]: Volume Level Select Bits
Selects a volume level when the volume control function is enabled.
6.2 Volume Level Settings
Table 16.
VOLSEL[6:0]
Volume level
0x7f
×
127/64
0x7e
×
126/64
:
0x40
:
:
×
64/64
:
0x2
×
2/64
0x1
×
1/64
0x0
×
0 (mute)
(Default: 0x40)
T16P Control Register (T16P_CTL)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
T16P Control
Register
(T16P_CTL)
0x301208
(16 bits)
D15–12 BCNT[3:0] B match count
0x0 to 0xf
0x0 R/W
D11
RESSEL
PCM data resolution select
1 16 bits
0 8 bits
1
R/W
D10
SGNSEL
PCM data format select
1 Signed
0 Unsigned
1
R/W
D9–8 SPLTMD
[1:0]
Split mode select
SPLTMD[1:0]
Split mode
0x0 R/W Effective only for
16-bit data
0x3
0x2
0x1
0x0
10 bits + 6 bits
9 bits + 7 bits
8 bits + 8 bits
Normal (16 bits)
D7
–
reserved
–
–
–
0 when being read.
D6
SELFM
Fine mode select
1 Fine mode
0 Normal
0
R/W
D5
–
reserved
–
–
–
0 when being read.
D4
INITOL
Initial output level select
1 High
0 Low
0
R/W
D3
CLKSEL
Input clock select
1 External
0 Internal
0
R/W
D2
–
reserved
–
–
–
0 when being read.
D1
PRESET
T16P reset
1 Reset
0 Ignored
0
W
D0
–
reserved
–
–
–
D[15:12] BCNT[3:0]: B Match Count Bits
Sets the B match counter. (Default: 0x0)
When a B match occurs (BCNT[3:0] + 1) times, the compare A and B buffer data are loaded into the
compare A and B registers.
D11
RESSEL: PCM Data Resolution Select Bit
Selects the PCM data resolution.
1 (R/W): 16 bits (default)
0 (R/W): 8 bits
Notes: • When 8-bit PCM data resolution is selected, no A match interrupt will be generated.
• 16-bit audio data must be written to address 0x301200 (CMPA[15:0]/T16P_A register) in 16-
bit size.
• 8-bit audio data must be written to address 0x301201 (CMPA[15:8]/T16P_A register) in 8-bit
size. Furthermore, select 8 bits + 8 bits split mode to use 8-bit audio data (RESSEL = 0).
The PWM pulse will be output from the PWM_H pin and the PWM_L pin is fixed at the level
set by INITOL. In this case, the PWM_L pin can be used for a GPIO or other function.
D10
SGNSEL: PCM Data Format Select Bit
Selects the PCM data format.
1 (R/W): Signed data (default)
0 (R/W): Unsigned data
Note: When signed audio data is selected, CMPA15/T16P_A register is treated as the sign bit for
both 16-bit and 8-bit audio data.
D[9:8]
SPLTMD[1:0]: Split Mode Select Bits
Selects the split mode for manipulating 16-bit PCM data.