246
CHAPTER 16 8/16-BIT COMPOSITE TIMER
bit3
BF:
Data register full flag
• This bit is set to "1" when a count value is stored in the 8/16-bit composite timer 00/01 data
register (T00DR/T01DR) upon completion of pulse width measurement in PWC timer function.
• This bit is set to "0" when the 8/16-bit composite timer 00/01 data register (T00DR/T01DR) is read
during 8-bit operation.
• The 8/16-bit composite timer 00/01 data register (T00DR/T01DR) holds data with this bit
containing "1". Even when the next edge is detected with this bit containing "1", the count value is
not transferred to the 8/16-bit composite timer 00/01 data register (T00DR/T01DR) and thus the
next measurement result is lost.
However, as the exception, when the H-pulse and cycle measurement (T00CR0/T01CR0: F3, F2,
F1, F0="1001
B
") is selected, the H-pulse measurement result is transferred to the 8/16-bit
composite timer 00/01 data register (T00DR/T01DR) with this bit set to "1". The cycle
measurement result is not transferred to the 8/16-bit composite timer 00/01 data register with the
bit set to "1". For cycle measurement, therefore, the H-pulse measurement result must be read
before the cycle is completed. Note also that the result of H-pulse measurement or cycle
measurement is lost unless read before the completion of the next H pulse.
• The BF bit in the T00CR1 (timer 00) register is set to "0" when the T01DR (timer 01) register is
read during 16-bit operation.
• The BF bit in T01CR1 (timer 01) register is set to "0" during 16-bit operation.
• This bit is "0" when any timer function other than the PWC timer function has been selected.
• Writing to this bit has no effects on the operation.
bit2
IF:
Timer reload/overflow
flag
This bit detects a match with a count value or a counter overflow.
• The bit is set to "1" when the 8/16-bit composite timer 00/01 data register (T00DR/T01DR) value
matches the count value during interval timer function (both one-shot and continuous mode) or
PWM timer function (variable-cycle mode).
• The bit is set to "1" when a counter overflow occurs during PWC or input capture function.
• This bit always returns "1" to a read-modify-write instruction.
• Writing "0" to the bit sets it to "0".
• Writing "1" to this bit has no effects on the operation.
• The bit is "0" when the PWM function (variable-cycle mode) has been selected.
• The IF bit in the T01CR1 (timer 01) register is "0" during 16-bit operation.
bit1
SO:
Timer output initial
value bit
Writing to this bit sets the timer output (TMCR0:TO1/TO0) initial value. The value in this bit is
reflected in the timer output when the timer operation enable bit (T00CR1/T01CR1:STA) changes
from "0" to "1".
• During 16-bit operation (TMCR0:MOD = 1), use the SO bit in the T00CR1 (timer 00) register to
set the timer output initial value. In this case, the value of the S bit in the other register is
meaningless.
• An attempt to write to this bit is nullified during timer operation (T00CR1/T01CR1:STA = 1).
During 16-bit operation, however, a value can be written to the SO bit in the T01CR1 (timer 01)
register even during timer operation but it has no direct effect on the timer output.
• The value of this bit is meaningless when the PWM timer function (either fixed-cycle or variable-
cycle mode) or input capture function has been selected.
bit0
OE:
Timer output enable bit
This bit enables or disabled timer output.
Writing "1" : supplies timer output (TMCR0:T01/TO0) to the external pin.
Writing "0" : prevents the timer output from being supplied to the external pin. In this case, the
external pin serves as a general-purpose port.
Table 16.5-2 Functional Description of Each Bit of 8/16-bit Composite Timer 00/01 Control Status Register
1 (2 / 2)
Bit name
Function
Содержание F2 MC-8FX Family
Страница 2: ......
Страница 4: ......
Страница 30: ...16 CHAPTER 1 DESCRIPTION 1 FPT 64P M23 FPT 64P M24 2 For the I O circuit type refer to 1 8 I O Circuit Type ...
Страница 34: ...20 CHAPTER 1 DESCRIPTION ...
Страница 35: ...21 CHAPTER 2 HANDLING DEVICES This chapter gives notes on using 2 1 Device Handling Precautions ...
Страница 38: ...24 CHAPTER 2 HANDLING DEVICES ...
Страница 39: ...25 CHAPTER 3 MEMORY SPACE This chapter describes memory space 3 1 Memory Space 3 2 Memory Map ...
Страница 43: ...29 CHAPTER 4 MEMORY ACCESS MODE This chapter describes the memory access mode 4 1 Memory Access Mode ...
Страница 56: ...42 CHAPTER 5 CPU ...
Страница 73: ...59 CHAPTER 6 CLOCK CONTROLLER ...
Страница 96: ...82 CHAPTER 6 CLOCK CONTROLLER ...
Страница 104: ...90 CHAPTER 7 RESET ...
Страница 105: ...91 CHAPTER 8 INTERRUPTS This chapter explains the interrupts 8 1 Interrupts ...
Страница 174: ...160 CHAPTER 10 TIMEBASE TIMER ...
Страница 184: ...170 CHAPTER 10 TIMEBASE TIMER ...
Страница 218: ...204 CHAPTER 13 WATCH PRESCALER ...
Страница 257: ...243 CHAPTER 16 8 16 BIT COMPOSITE TIMER ...
Страница 261: ...247 CHAPTER 16 8 16 BIT COMPOSITE TIMER ...
Страница 288: ...274 CHAPTER 16 8 16 BIT COMPOSITE TIMER ...
Страница 301: ...287 CHAPTER 17 16 BIT PPG TIMER ...
Страница 316: ...302 CHAPTER 17 16 BIT PPG TIMER ...
Страница 382: ...368 CHAPTER 21 UART SIO DEDICATED BAUD RATE GENERATOR ...
Страница 390: ...376 CHAPTER 22 I2C ...
Страница 395: ...381 CHAPTER 22 I2C ...
Страница 399: ...385 CHAPTER 22 I2C ...
Страница 430: ...416 CHAPTER 23 10 BIT A D CONVERTER ...
Страница 476: ...462 CHAPTER 24 LCD CONTROLLER ...
Страница 482: ...468 CHAPTER 25 LOW VOLTAGE DETECTION RESET CIRCUIT ...
Страница 494: ...480 CHAPTER 26 CLOCK SUPERVISOR ...
Страница 507: ...493 CHAPTER 27 REAL TIME CLOCK ...
Страница 523: ...509 CHAPTER 27 REAL TIME CLOCK ...
Страница 532: ...518 CHAPTER 27 REAL TIME CLOCK ...
Страница 536: ...522 CHAPTER 28 256 KBIT FLASH MEMORY ...
Страница 554: ...540 CHAPTER 28 256 KBIT FLASH MEMORY ...
Страница 564: ...550 CHAPTER 29 EXAMPLE OF SERIAL PROGRAMMING CONNECTION ...
Страница 595: ...581 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 596: ...582 INDEX Index ...
Страница 597: ...583 INDEX ...
Страница 599: ...585 Pin Function Index V2 LCD power supply driving pin 2 439 V3 LCD power supply driving pin 3 439 ...
Страница 600: ...586 Pin Function Index ...
Страница 602: ......