L9803 STMicroelectronics, L9803 Datasheet - Page 47

no-image

L9803

Manufacturer Part Number
L9803
Description
Super Smart Power Motor Driver With 8-bit Mcu, Ram, Eeprom, Adc, Wdg, Timers, Pwm And H-bridge Driver
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
L9803C
Manufacturer:
JAE
Quantity:
12 000
Part Number:
L9803C
Manufacturer:
ST
0
L9803
Figure 23. Input Capture Block Diagram
Figure 24. Input Capture Timing Diagram
Output Compare
In this section, the index, i, may be 1 or 2 because there are 2 output compare functions in
the 16-bit timer.
This function can be used to control an output waveform or indicate when a period of time
has elapsed.
When a match is found between the Output Compare register and the free running counter,
the output compare function:
Two 16-bit registers Output Compare Register 1 (OC1R) and Output Compare Register 2
(OC2R) contain the value to be compared to the counter register each timer clock cycle
ICAP2
ICAP1
COUNTER REGISTER
ICAPi REGISTER
Note: A
TIMER CLOCK
Assigns pins with a programmable value if the OCiE bit is set
Sets a flag in the status register
Generates an interrupt if enabled
ICAPi FLAG
16-BIT
ICAPi PIN
EDGE DETECT
ctive edge is rising edge.
16-BIT
CIRCUIT2
ICR2
FREE RUNNING
COUNTER
FF01
EDGE DETECT
CIRCUIT1
ICR1
FF02
ICF1
ICIE
FF03
ICF2
(Control Register 1)
(Control Register 2)
CC1
On-Chip Peripherals
(Status Register)
CC0
FF03
0
IEDG2
IEDG1
0
CR1
CR2
SR
47/126
0

Related parts for L9803