The 7540 Group is the 8-bit microcomputer based on the 740 family
core technology.
The 7540 Group has a serial I/O, 8-bit timers, a 16-bit timer, and an
A-D converter, and is useful for control of home electric appliances
and office automation equipment.
Mask ROM version
Mask ROM version
Mask ROM version (extended operating temperature version)
Mask ROM version
Mask ROM version (extended operating temperature version)
One Time PROM version (blank)
One Time PROM version (blank)
One Time PROM version (blank)
Emulator MCU
2: These bits are used only when a ceramic oscillation is selected.
Note 1: The bit can be rewritten only once after releasing reset. After rewriting
it is disable to write any data to the bit. However, by reset the bit is
initialized and can be rewritten, again.
(It is not disable to write any data to the bit for emulator MCU
“M37540RSS”.)
Do not use these when an RC oscillation is selected.
Notice: This is not a final specification.
Some parametric limits are subject to change.
FUNCTIONAL DESCRIPTION
Central Processing Unit (CPU)
The 7540 Group uses the standard 740 family instruction set. Refer
to the table of 740 family addressing modes and machine-language
instructions or the 740 Family Software MANUAL for details on each
instruction set.
Machine-resident 740 family instructions are as follows:
1. The FST and SLW instructions cannot be used.
2. The MUL and DIV instructions can be used.
3. The WIT instruction can be used.
4. The STP instruction can be used.
(This instruction cannot be used while CPU operates by a ring oscillator.)
[CPU mode register] CPUM
The CPU mode register contains the stack page selection bit.
This register is allocated at address 003B16.
MITSUBISHI MICROCOMPUTERS
7540 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
Switching method of CPU mode register
Switch the CPU mode register (CPUM) at the head of program after
releasing Reset in the following method.
After releasing reset
Switch the oscillation mode
selection bit (bit 5 of CPUM)
Fig. 9 Switching method of CPU mode register
8
Wait by ring oscillator operation until
establishment of oscillator clock
Switch the clock division ratio
selection bits (bits 6 and 7 of CPUM)
Main routine
Fig. 8 Structure of CPU mode register
Start with a built-in ring oscillator
An initial value is set as a ceramic
oscillation mode. When it is switched to an
RC oscillation, its oscillation starts.
When using a ceramic oscillation, wait until
establlishment of oscillation from oscillation starts.
When using an RC oscillation, wait time is not
required basically (time to execute the instruction to
switch from a ring oscillator meets the requirement).
Switch to other mode except a ring oscillator.
At the same time, select the double-speed,
high-speed, or middle-speed mode.
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
MITSUBISHI MICROCOMPUTERS
7540 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
Memory
Special function register (SFR) area
The SFR area in the zero page contains control registers such as I/O
ports and timers.
RAM
RAM is used for data storage and for a stack area of subroutine calls
and interrupts.
ROM
The first 128 bytes and the last 2 bytes of ROM are reserved for
device testing and the rest is a user area for storing programs.
Interrupt vector area
The interrupt vector area contains reset and interrupt vectors.
RAM area
RAM capacity
(bytes)
512
768
address
XXXX16
023F16
033F16
Zero page
The 256 bytes from addresses 000016 to 00FF16 are called the zero
page area. The internal RAM and the special function registers (SFR)
are allocated to this area.
The zero page addressing mode can be used to specify memory and
register addresses in the zero page area. Access to this area with
only 2 bytes is possible in the zero page addressing mode.
Special page
The 256 bytes from addresses FF0016 to FFFF16 are called the special page area. The special page addressing mode can be used to
specify memory addresses in the special page area. Access to this
area with only 2 bytes is possible in the special page addressing
mode.
Note : Do not access to the SFR area including nothing.
Fig. 11 Memory map of special function register (SFR)
10
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
MITSUBISHI MICROCOMPUTERS
7540 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
I/O Ports
[Direction registers] PiD
The I/O ports have direction registers which determine the input/output direction of each pin. Each bit in a direction register corresponds
to one pin, and each pin can be set to be input or output.
When “1” is set to the bit corresponding to a pin, this pin becomes an
output port. When “0” is set to the bit, the pin becomes an input port.
When data is read from a pin set to output, not the value of the pin
itself but the value of port latch is read. Pins set to input are floating,
and permit reading pin values.
If a pin set to input is written to, only the port latch is written to and the
pin remains floating.
b7 b0
Pull-up control register
(PULL: address 0016
[Pull-up control register] PULL
By setting the pull-up control register (address 001616), ports P0 and
P3 can exert pull-up control by program. However, pins set to output
are disconnected from this control and cannot exert pull-up control.
[Port P1P3 control register] P1P3C
By setting the port P1P3 control register (address 001716), a CMOS
input level or a TTL input level can be selected for ports P10, P12,
P13, P36, and P37 by program.
16
, initial value: 0016)
P00 pull-up control bit
P0
1
pull-up control bit
P0
2
, P03 pull-up control bit
P0
4
– P07 pull-up control bit
P3
0
– P33 pull-up control bit
Note 1: Pins set to output ports are disconnected from pull-up control.
5
2: Set the P3
Fig. 12 Structure of pull-up control register
, P36 pull-up control bit to “1” (initial value: “0”) for 32-pin version.
b7 b0
Note: Keep setting the P36/INT1 input level selection bit
Note: Ports P10, P12, P13, P36, and P37 are CMOS/TTL level.
Name
I/O port P0
I/O port P1
I/O port P2
I/O port P3
Input/output
I/O individual
bits
I/O format
•CMOS compatible input
level
•CMOS 3-state output
(Note)
MITSUBISHI MICROCOMPUTERS
7540 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
Non-port function
Key input interrupt
Serial I/O1 function
input/output
Serial I/O2 function
input/output
Timer X function
input/output
A-D conversion
input
External interrupt
input
Related SFRsDiagram No.
Pull-up control register
Timer Y mode register
Timer Z mode register
Timer X mode register
Timer Y,Z waveform output control register
Timer A mode register
Serial I/O1 control register
Serial I/O1 control register
Serial I/O2 control register
Timer X mode register
A-D control register
Interrupt edge selection
register
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
12
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
MITSUBISHI MICROCOMPUTERS
7540 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
(1)Port P00
Data bus
(3)Port P03
Data bus
Pull-up control
Direction
register
Port latch
Direction
register
Port latch
Timer output
CNTR1 interrupt input
To key input interrupt
generating circuit
Pull-up control
P0
3
/TX
output valid
To key input interrupt
generating circuit
OUT
(2)Ports P01, P02
Pull-up control
Direction
register
Data busPort latch
Pulse output mode
Timer output
To key input interrupt
generating circuit
(4)Ports P04–P07
Pull-up control
Direction
register
Data bus
Port latch
To key input interrupt
generating circuit
(5)Port P10
Serial I/O1 enable bit
Receive enable bit
Data bus
Direction
register
Port latch
Serial I/O1 input
(7)Port P12
CLK2
pin
S
Serial I/O1 synchronous
clock selection bit
Serial I/O1 enable bit
Serial I/O1 mode selection bit
Serial I/O1 enable bit
Data bus
Serial I/O1, serial I/O2 clock output
selection bit
Direction
register
Port latch
Serial I/O1, serial I/O2 clock input
P10, P12, P13, P36, and P37 input level are switched to the CMOS/TTL level by the port P1P3 control register.
*
Fig. 14 Block diagram of ports (1)
P1
0
, P12, P13
input level
selection bit
*
P1
0
, P12, P13
input level
selection bit
(6)Port P11
1/TxD1
P-channel output disable bit
P1
Serial I/O1 enable bit
Transmit enable bit
Direction
register
Data bus
Port latch
Serial I/O1 output
*
13
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
MITSUBISHI MICROCOMPUTERS
7540 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
(8) Port P1
DATA2
S
Serial I/O mode selection bit
Data bus
3
output in operation signal
DATA2
pin selection bit
S
Serial I/O1 enable bit
S
RDY1
output enable bit
Serial I/O1 ready output
Serial I/O2 output
(10) Ports P20–P2
Data bus
Direction
register
Port latch
7
Direction
register
Port latch
Serial I/O2 input
P10, P12, P13
input level
selection bit
*
(9) Port P1
Data bus
4
Pulse output mode
(11) Ports P30–P3
Data bus
Direction
register
Port latch
Timer output
5
Pull-up control
Direction
register
Port latch
CNTR0 interrupt input
A-D converter input
(12) Ports P36, P3
Data bus
P10, P12, P13, P36, and P37 input level are switched to the CMOS/TTL level by the port P1P3 control register.
*
7
Pull-up control
Direction
register
Port latch
INT interrupt input
Fig. 15 Block diagram of ports (2)
Analog input pin
selection bit
P3 input level
selection bit
*
14
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
MITSUBISHI MICROCOMPUTERS
7540 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
Interrupts
Interrupts occur by 15 different sources : 5 external sources, 9 internal sources and 1 software source.
Interrupt control
All interrupts except the BRK instruction interrupt have an interrupt
request bit and an interrupt enable bit, and they are controlled by the
interrupt disable flag. When the interrupt enable bit and the interrupt
request bit are set to “1” and the interrupt disable flag is set to “0”, an
interrupt is accepted.
The interrupt request bit can be cleared by program but not be set.
The interrupt enable bit can be set and cleared by program.
The reset and BRK instruction interrupt can never be disabled with
any flag or bit. All interrupts except these are disabled when the interrupt disable flag is set.
When several interrupts occur at the same time, the interrupts are
received according to priority.
Table 4 Interrupt vector address and priority
Vector addresses (Note 1)
Interrupt source
Reset (Note 2)
Serial I/O1 receive
Serial I/O1 transmit
INT0
INT1 (Note 3)
Key-on wake-up
CNTR0
CNTR1
Timer X
Timer Y
Timer Z
Timer A
Serial I/O2
A-D conversion
Timer 1
Reserved area
BRK instruction
Interrupt request generating conditions
At reset input
At completion of serial I/O1 data receive
At completion of serial I/O1 transmit shift or
when transmit buffer is empty
At detection of either rising or falling edge of
INT0 input
At detection of either rising or falling edge of
INT1 input
At falling of conjunction of input logical level for
port P0 (at input)
At detection of either rising or falling edge of
CNTR0 input
At detection of either rising or falling edge of
CNTR1 input
At timer X underflow
At timer Y underflow
At timer Z underflow
At timer A underflow
At completion of transmit/receive shift
At completion of A-D conversion
At timer 1 underflow
Not available
At BRK instruction execution
Interrupt operation
Upon acceptance of an interrupt the following operations are automatically performed:
1. The processing being executed is stopped.
2. The contents of the program counter and processor status register are automatically pushed onto the stack.
3. The interrupt disable flag is set and the corresponding interrupt
request bit is cleared.
4. Concurrently with the push operation, the interrupt destination
address is read from the vector table into the program counter.
Notes on use
When the active edge of an external interrupt (INT0, INT1,CNTR0) is
set, the interrupt request bit may be set.
Therefore, please take following sequence:
1. Disable the external interrupt which is selected.
2. Change the active edge in interrupt edge selection register. (in
case of CNTR0: Timer X mode register, in case of CNTR1: Timer
A mode register)
3. Clear the set interrupt request bit to “0”.
4. Enable the external interrupt which is selected.
Remarks
Non-maskable
Valid only when serial I/O1 is selected
Valid only when serial I/O1 is selected
Timer Y interrupt request bit
Timer Z interrupt request bit
Timer A interrupt request bit
Serial I/O2 interrupt request bit
A-D conversion interrupt request bit
Timer 1 interrupt request bit
Not used (returns “0” when read)
Interrupt control register 1
(ICON1 : address 003E
Serial I/O1 receive interrupt enable bit
Serial I/O1 transmit interrupt enable bit
INT
0
interrupt enable bit
INT
1
interrupt enable bit
Key-on wake up interrupt enable bit
CNTR
0
CNTR
1
Timer X interrupt enable bit
Interrupt control register 2
(ICON2 : address 003F
Timer Y interrupt enable bit
Timer Z interrupt enable bit
Timer A interrupt enable bit
Serial I/O2 interrupt enable bit
A-D conversion interrupt enable bit
Timer 1 interrupt enable bit
Not used (returns “0” when read)
(Do not write “1” to this bit)
Fig. 17 Structure of Interrupt-related registers
16
16
)
interrupt enable bit
interrupt enable bit
16
)
0 : Interrupts disabled
1 : Interrupts enabled
0 : Interrupts disabled
1 : Interrupts enabled
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
Key Input Interrupt (Key-On Wake-Up)
A key-on wake-up interrupt request is generated by applying “L” level
to any pin of port P0 that has been set to input mode.
In other words, it is generated when the AND of input level goes from
“1” to “0”. An example of using a key input interrupt is shown in Figure 18, where an interrupt request is generated by pressing one of
the keys provided as an active-low key matrix which uses ports P00
to P03 as input ports.
Port PXx
“L” level output
PULL register
bit 3 = “0”
***
Port P0
P07 output
latch
7
Port P0
Direction register = “1”
7
Falling edge
detection
MITSUBISHI MICROCOMPUTERS
7540 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
Key input interrupt request
P0
P0
P0
P0
P0
P0
P0
6
output
5
output
4
output
3
2
1
0
input
input
input
input
PULL register
bit 3 = “0”
***
PULL register
bit 3 = “0”
***
PULL register
bit 3 = “0”
***
PULL register
bit 2 = “1”
***
PULL register
bit 2 = “1”
***
PULL register
bit 1 = “1”
***
PULL register
bit 0 = “1”
***
Port P0
Direction register = “1”
Port P0
6
latch
Port P0
Direction register = “1”
Port P0
5
latch
Port P0
Direction register = “1”
Port P0
4
latch
Port P0
Direction register = “0”
Port P0
3
latch
Port P0
Direction register = “0”
Port P0
2
latch
Port P0
Direction register = “0”
Port P0
1
latch
Port P0
Direction register = “0”
Port P0
0
latch
6
5
4
3
2
1
0
Falling edge
detection
Falling edge
detection
Falling edge
detection
Falling edge
detection
Falling edge
detection
Falling edge
detection
Falling edge
detection
Port P0
Input read circuit
* P-channel transistor for pull-up
** CMOS output buffer
Fig. 18 Connection example when using key input interrupt and port P0 block diagram
17
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
MITSUBISHI MICROCOMPUTERS
7540 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
Timers
The 7540 Group has 5 timers: timer 1, timer A, timer X, timer Y and
timer Z.
The division ratio of every timer and prescaler is 1/(n+1) provided
that the value of the timer latch or prescaler is n.
All the timers are down count timers. When a timer reaches “0”, an
underflow occurs at the next count pulse, and the corresponding timer
latch is reloaded into the timer. When a timer underflows, the interrupt request bit corresponding to each timer is set to “1”.
●Timer 1
Prescaler 1 always counts f(XIN)/16. Timer 1 always counts the
prescaler 1 output and periodically sets the interrupt request bit.
●Timer A
Timer A is a 16-bit timer that can be selected in one of four modes.
• Timer Mode
The timer counts f(XIN)/16.
• Period Measurement Mode
CNTR1 interrupt request is generated at rising/falling edge of
CNTR1 pin input signal. Simultaneously, the value in timer A latch
is reloaded in timer A and timer A continues counting down. Except for the above-mentioned, the operation in period measurement mode is the same as in timer mode.
The timer value just before the reloading at rising/falling of CNTR1
pin input signal is retained until the timer A is read once after the
reload.
The rising/falling timing of CNTR1 pin input signal is found by CNTR1
interrupt.
b7b0
Timer A mode register
(TAM : address 001D
Not used (return “0” when read)
Timer A operating mode bits
b5 b4
0 0 : Timer mode
0 1 : Period measurement mode
1 0 : Event counter mode
1 1 : Pulse width HL continuously
measurement mode
CNTR
1
active edge switch bit
0 : Count at rising edge in event counter mode
Measure the falling edge period in period
measurement mode
Falling edge active for CNTR
1 : Count at falling edge in event counter mode
Measure the rising edge period in period
measurement mode
Rising edge active for CNTR
Timer A stop control bit
0 : Count start
1 : Count stop
Fig. 19 Structure of timer A mode register
16
)
1
interrupt
1
interrupt
• Event Counter Mode
The timer counts signals input through the CNTR1 pin.
Except for this, the operation in event counter mode is the same
as in timer mode.
• Pulse Width HL Continuously Measure-ment Mode
CNTR1 interrupt request is generated at both rising and falling
edges of CNTR1 pin input signal. Except for this, the operation in
pulse width HL continuously measurement mode is the same as in
period measurement mode.
■ Note
● CNTR1 interrupt active edge selection
CNTR1 interrupt active edge depends on the CNTR1 active edge
switch bit. However, in pulse width HL continuously measurement
mode, CNTR1 interrupt request is generated at both rising and
falling edges of CNTR1 pin input signal regardless of the setting of
CNTR1 active edge switch bit.
18
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
MITSUBISHI MICROCOMPUTERS
7540 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
●Timer X
Timer X can be selected in one of 4 operating modes by setting the
timer X mode register.
• Timer Mode
The timer counts the signal selected by the timer X count source
selection bits.
• Pulse Output Mode
The timer counts the signal selected by the timer X count source
selection bits, and outputs a signal whose polarity is inverted each
time the timer value reaches “0”, from the CNTR0 pin.
When the CNTR0 active edge switch bit is “0”, the output of the
CNTR0 pin is started with an “H” output. At “1”, this output is started
with an “L” output. When using a timer in this mode, set the port
P14 direction register to output mode. Also, in the pulse output
mode, the inverted waveform of pulse output from CNTR0 pin can
be output from TXOUT pin by setting the P03/TXOUT output valid
bit to “1” . When using a timer in this mode, set the port P03 direction register to output mode.
• Event Counter Mode
The operation in the event counter mode is the same as that in
the timer mode except that the timer counts the input signal from
the CNTR0 pin.
When the CNTR0 active edge switch bit is “0”, the timer counts
the rising edge of the CNTR0 pin. When this bit is “1”, the timer
counts the falling edge of the CNTR0 pin.
• Pulse Width Measurement Mode
When the CNTR0 active edge switch bit is “0”, the timer counts
the signal selected by the timer X count source selection bit while
the CNTR0 pin is “H”. When this bit is “1”, the timer counts the
signal while the CNTR0 pin is “L”.
In any mode, the timer count can be stopped by setting the timer
X count stop bit to “1”. Each time the timer overflows, the interrupt
request bit is set.
active edge switch bit
0 : Interrupt at falling edge
Count at rising edge
(in event counter mode)
1 : Interrupt at rising edge
Count at falling edge
(in event counter mode)
Timer X count stop bit
0 : Count start
1 : Count stop
Timer count source set register
(TCSS : address 002E
Timer X count source selection bits
b1 b0
0 0 : f(X
0 1 : f(X
1 0 : f(X
1 1 : Not available
Timer Y count source selection bits
b3 b2
0 0 : f(X
0 1 : f(X
1 0 : Ring oscillator output (Note)
1 1 : Not available
Timer Z count source selection bits
b5 b4
0 0 : f(X
0 1 : f(X
1 0 : Timer Y underflow
1 1 : Not available
Fix this bit to “0”.
Not used (return “0” when read)
IN)/16
IN)/2
IN)
IN)/16
IN)/2
IN)/16
IN)/2
16
16)
)
0
output)
Note : System operates using a ring oscillator as a count source by setting
the ring oscillator to oscillation enabled by bit 3 of CPUM.
Fig. 21 Timer count source set register
19
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
MITSUBISHI MICROCOMPUTERS
7540 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
●Timer Y
Timer Y is an 8-bit timer and can be selected in one of 2 operating
modes by setting the timer Y, Z mode register (TYZM).
• Timer mode
• Programmable waveform generation mode
The division ratio of timer Y and prescaler Y is 1/(n+1) provided that
the value of the timer latch or prescaler Y latch is n.
(1)Timer mode
• Mode select
Timer mode is selected by setting timer Y operation mode bit (b0)
of TYZM to “0”.
• Count source select
The count source is f(XIN)/2 or f(XIN)/16.
• Interrupt
When an underflow occurs, timer Y interrupt request bit (b0) of
IREQ2 is set to “1”.
• Operation description
After reset release, timer Y is operating because the timer Y count
stop bit (b3) of TYZM is “0”. Timer operation is stopped by setting
b3 of TYZM to “1”. In the timer mode, the timer count value is set
by timer Y primary latch (TYP). When a value is set to TYP while
timer is stopped, the setting value is written to latch and timer simultaneously.
When timer Y reaches “00”, an underflow occurs at the next count
pulse, and the timer Y latch is reloaded into the timer and count
continues. When timer value is changed during the count operation, either “writing to latch and timer simultaneously” or “writing to
only latch” can be selected by setting the timer Y write control bit
(b2) of TYZM. When selecting “writing to only latch”, the timer count
value is changed after the next underflow.
(2)Programmable waveform generation mode
• Mode select
Timer mode is selected by setting timer Y operation mode bit (b0)
of TYZM to “1”.
When this mode is selected, set timer Y write control bit (b2) of
TYZM to “1” (“writing to only latch” selected).
• Count source select
The count source is f(XIN)/2 or f(XIN)/16.
• Interrupt
When an underflow occurs, timer Y interrupt request bit (b0) of
IREQ is set to “1”.
• Operation description
After reset release, timer Y is operating because the timer Y count
stop bit (b3) of TYZM is “0”. MCU operates in the programmable
waveform generation mode when timer Y operation mode bit (b0)
of TYZM is set to “1” and b3 to “0” after timer Y operation is stopped
by setting b3 of TYZM to “1”.
In the programmable waveform generation mode, timer counts the
setting value of timer Y primary latch (TYP) and the setting value
of timer Y secondary latch (TYS) alternately, the waveform inverted
each time TYP and TYS underflow is output from TYOUT pin. The
active edge of output waveform is set by the timer Y output level
latch (b4) of the timer Y, Z waveform output control register (PUM).
When “0” is set to b4 of PUM, the initial state of timer at stop is “L”,
and “H” interval by the setting value of TYP or “L” interval by the
setting value of TYS is output alternately. When “1” is set to b4 of
PUM, the initial state of timer at stop is “H”, and “L” interval by the
setting value of TYP or “H” interval by the setting value of TYS is
output alternately.
Also, in this mode, the primary interval and the secondary interval
of the output waveform can be extended respectively for 0.5 cycle
of timer count source clock by setting the timer Y primary waveform extension control bit (b0) and the timer Y secondary waveform extension control bit (b1) of PUM to “1”. As a result, the waveforms of more accurate resolution can be output.
When b0 and b1 of PUM are used, the frequency and duty of the
output waveform are as follows;
TMCL: Timer Y count clock f(XIN)/2 or f(XIN)/16
TYP: Timer Y primary latch (8 bits)
TYS: Timer Y secondary latch (8 bits)
EXPYP: Timer Y primary waveform extension control bit (1 bit)
EXPYS: Timer Y secondary waveform extension control bit (1 bit)
When using the programmable waveform generation mode, note
the following;
Notes on using the programmable waveform generation mode
• When setting and changing TYP, TYS, EXPYP and EXPYS, write
to TYP at last because the setting to them is executed all at once
by writing to TYP. Even when TYP is not changed, write the same
value. The value is reloaded to timer at the beginning of the next
primary interval.
• Set by software in order not to execute the writing to timer Y primary and the timing of timer underflow simultaneously. When reading the timer Y secondary, the undefined value is read out. However, while timer counts the setting value of the timer Y secondary,
the count values at the secondary interval can be identified by
reading the timer Y primary.
• In this mode, set port P01 which is also used as TYOUT pin to output.
• B0 and b1 of PUM can be used only when “0016” is set to prescaler
Y.
20
Loading...
+ 44 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.