165
CHAPTER 7 8-BIT TIMERS A0, B0
User’s Manual U15798EJ2V0UD
(3) Carrier generator output control register B0 (TCAB0)
This register is used to set the timer output data during carrier generator mode.
TCAB0 is set by an 8-bit memory manipulation instruction.
RESET input sets TCAB0 to 00H.
Figure 7-6. Format of Carrier Generator Output Control Register B0
Symbol
7
6
5
4
3
2
1
0
Address
After reset
R/W
TCAB0
0
0
0
0
0
RMCB0 NRZBB0 NRZB0
FF6FH
00H
R/W
RMCB0
Control of remote control output
0
When NRZB0 = 1, a carrier clock is output to TOB0/INTP6/P06 pin
1
When NRZB0 = 1, high-level signal is output to TOB0/INTP6/P06 pin
NRZBB0 This is the bit that stores the next data to be output to NRZB0. Data is transferred to NRZB0 at the
rising edge of the timer A0 match signal. Input the necessary value in NRZBB0 in advance by
program.
NRZB0
No return zero data
0
A low-level signal is output to TOB0/INTP6/P06 pin (carrier clock is stopped)
1
A carrier clock or high-level signal is output to TOB0/INTP6/P06 pin
Cautions 1. TCAB0 cannot be set by a 1-bit memory manipulation instruction. Be sure to use an 8-bit
memory manipulation instruction to set TCAB0.
2. The NRZB0 flag can be written only when carrier generator output is stopped (TOEB0 = 0).
The data cannot be overwritten when TOEB0 = 1.
(4) Port mode register 0 (PM0)
This register is used to set the input/output mode of port 0 in 1-bit units.
When using the P06/INTP6/TOB0 pin as a timer B0 output, set the PM06 and P06 output latch to 0.
When using the P07/TOA0/TMIB0 pin as a timer B0 input, set the PM07 to 1, and when using as a timer A0 output,
set the PM07 and P07 output latch to 0.
PM0 is set by a 1-bit or 8-bit memory manipulation instruction.
RESET input sets PM0 to FFH.
Figure 7-7. Format of Port Mode Register 0
Symbol
7
6
5
4
3
2
1
0
Address
After reset
R/W
PM0
PM07
PM06
PM05
PM04
PM03
PM02
PM01
PM00
FF20H
FFH
R/W
PM0n
I/O mode of P0n pin
(n = 0 to 7)
0
Output mode (output buffer is on)
1
Input mode (output buffer is off)
Содержание mPD780344 Series
Страница 2: ...2 User s Manual U15798EJ2V0UD MEMO...