A/D Converter:
A/D conversion can be performed in single or scan mode.
Eight-bit resolution
Eight input channels; selection of single mode or scan mode
Conversion can be started by an external trigger signal
Sample-and-hold
I/O Ports:
Pins not used for other functions are available for general-purpose input and output.
I/O is memory-mapped, with the CPU reading and writing the port registers in three states via an 8-
bit internal bus.
58 Input/output pins (including 16 pins with LED driving capability)
8 Input-only pins
Interrupts:
With a 10MHz clock rate, interrupt response times are on the order of 2 or 3μs (when
the vector table and stack are located in on-chip memory).
9 External interrupts: NMI and IRQ
0
to IRQ
7
19 Internal interrupts
Free-Running Timer:
The time base is a 16-bit free-running counter that can be internally or
externally clocked. Applications range from programmable pulse output to counting or timing of
external events.
Two independent, comparator-controlled outputs
Four input capture channels
Input capture buffering
8-Bit Timers:
Two independent 8-bit timers support applications such as programmable pulse
output and external event counting.
Internal or external clocking
Output controlled by values in two compare registers
PWM Timers:
Two independent timers are provided for pulse-width modulated output. Duty
cycles from 0 to 100% can be selected with 1/250 resolution.
Power-Down State:
In the three power-down modes some or all chip functions are halted but
memory contents are retained.
Sleep mode: CPU halts to save power while waiting for an interrupt
Software standby mode: entire chip halts to save power while waiting for an external interrupt
Hardware standby mode: totally shut down, but on-chip RAM contents are held
4