atam510 ATMEL Corporation, atam510 Datasheet - Page 42

no-image

atam510

Manufacturer Part Number
atam510
Description
Marc4 4-bit Mtp Universal Microcontroller
Manufacturer
ATMEL Corporation
Datasheet
Table 3-13.
Notes:
3.5.3.2
42
0 0 0 0
0 0 0 1
0 0 1 0
0 0 1 1
0 1 0 1
0 1 1 0
0 1 1 1
1 0 0 0
1 0 0 1
1 0 1 0
1 0 1 1
1 1 0 0
1 1 0 1
1 1 1 0
1 1 1 1
0 1 0 0
Code
3210
1. The compare interrupt/status flag can only be set when counting up
2. The overflow interrupt/status flag is set on both an overflow or an underflow
3. The BP40 signals can be inverted if T0NINV=0 (TCMO register)
ATAM510
Function
Reserved
Reserved
Modulated melody mode
Melody mode
Counter-auto reload (50% duty cycle)
Counter-free running (50% duty cycle)
Pulse density modulation
Pulse width modulation
Phase measurement
Position measurement
Low pulse width measurement
High pulse width measurement
Counter-auto reload (strobe)
Counter-free running (strobe)
Period measurement (rising edge)
Period measurement (falling edge)
Timer 0 Interrupt Status Register (T0SR)
Timer 0 Mode Register (T0MO)
Note:
T0EOM
T0OFL
T0CMP
T0SR
The status register is reset automatically when read and also when Timer 0 is reset.
Timer 0 End Of Measurement status flag
Timer 0 OverFLow status flag
Timer 0 CoMPare status flag
not used
Bit 3
Assuming TCIOR1 = TCIOR0 = Low
BP40
Envelope (out)
Tone (out)
Toggle (out)/Clock (in)
Toggle (out)/Clock (in)
PDM (out)/Clock (in)
PWM (out)/Clock (in)
Signal 1 (in)
Signal 1 (in)
Clock (in)
Clock (in)
Strobe (out)/Clock (in)
Strobe (out)/Clock (in)
Clock (in)
Clock (in)
T0EOM
Bit 2
(3)
T0OFL
Bit 1
Auxiliary register address (read access): '9'hex
T0CMP
Bit 0
BP41
Tone (out)
Tone (out)
Toggle (out)
Toggle (out)
PDM (out)
PWM (out)
Signal 2 (in)
Signal 2 (in)
Signal (in)
Signal (in)
Strobe (out)
Strobe (out)
Signal (in)
Signal (in)
Reset value: x000b
cmp
n/y
n/y
n/y
n/n
n/y
n/y
n/y
n/y
n/y
y/y
y/y
y/y
(1)
y/y
-
-
T0SR Affected
Interrupt Set/
y/y
y/y
y/y
y/y
y/y
y/y
y/y
(2)
y/y
y/y
y/y
y/y
y/y
y/y
ofl
-
-
4711B–4BMCU–01/05
eom
n/n
n/n
n/n
n/n
n/n
n/n
n/n
y/y
y/y
y/y
n/y
n/y
y/y
y/y
-
-

Related parts for atam510