M30240ECFP MITSUBISHI [Mitsubishi Electric Semiconductor], M30240ECFP Datasheet - Page 126

no-image

M30240ECFP

Manufacturer Part Number
M30240ECFP
Description
M30240 Group Specification
Manufacturer
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet
Specifications in this manual are tentative and subject to change
Usage Precautions
3.1.8 Timer A (timer mode)
3.1.9 Timer A (event counter mode)
3.1.10 Timer A (pulse width modulation mode)
3.1.11 Timer B (timer mode)
3.1.12 UART2
3.1.13 USB
• Reading the Timer Ai register while a count is in progress allows reading, with arbitrary timing, the
• Reading the Timer Ai register while a count is in progress allows reading, with arbitrary timing, the
• When counting is stopped in free-run type, set the timer again.
• When using Free-run type, the timer’s register contents may be unknown when counting starts. Set
• The Timer Ai interrupt request bit becomes “1” if setting operation mode of the timer in compliance
Therefore, to use Timer Ai interrupt (interrupt request bit), set Timer Ai interrupt request bit to “0” after
the above listed changes have been made.
• Setting the count start flag to “0” while PWM pulses are being output causes the counter to stop
• Reading the Timer Bi register while a count is in progress allows reading, with arbitrary timing, the
When using UART2 in clock asynchronous serial I/O mode (UART), use the internal clock only, oth-
erwise, one of the following may occur:
USB SFR refers to registers from 0x0300 to 0x033C. All these registers are physically inside the USB
block and are affected by the USB reset. Also, these registers can only be accessed by 8-bit mode.
USB related registers 0x00C, 0x03DB-0x3DF are not inside the USB block and are not affected by a
USB reset and can be accessed by 8 or 16 bits.
value of the counter. Reading the Timer Ai register with the reload timing gets “FFFF
the Timer Ai register after setting a value in the Timer Ai register with a count halted but before the
counter starts counting gets a proper value.
value of the counter. Reading the Timer Ai register with the reload timing gets “FFFF
or “0000
with a count halted but before the counter starts counting gets a proper value.
the timer value immediately after counting has started.
with any of the following procedures:
counting. If the TAiOUT pin is outputting an “H” level in this instance, the output level goes to “L”,
and the Timer Ai interrupt request bit goes to “1”. If the TAiOUT pin is outputting an “L” level in this
instance, the level does not change, and the Timer Ai interrupt request bit does not become “1”.
value of the counter. Reading the Timer Bi register with the reload timing gets “FFFF
the Timer Bi register after setting a value in the Timer Bi register with a count halted but before the
counter starts counting gets a proper value.
• Selecting PWM mode after reset.
• Changing operation mode from timer mode to PWM mode.
• Changing operation mode from event counter mode to PWM mode.
• The interrupt may not be issued at the end of the data transmission when the hardware transfers the data
• Data may be corrupted when the hardware transfers data fro the transmit buffer register to the transmit reg-
from the transmit buffer to the transmit register.
ister. This only applies to UART2 asynchronous serial I/O mode and does not apply to UART0 or UART1.
16
” by overflow. Reading the Timer Ai register after setting a value in the Timer Ai register
1-126
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Mitsubishi microcomputers
M30240 Group
16
” by underflow
16
16
”. Reading
”. Reading

Related parts for M30240ECFP