L9803 STMicroelectronics, L9803 Datasheet - Page 56

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
On-Chip Peripherals
Note:
56/126
Bit 1 = IEDG2 Input Edge 2.
This bit determines which type of level transition on the ICAP2 pin will trigger the capture
0: A falling edge triggers the capture.
1: A rising edge triggers the capture.
Bit 0 = EXEDG External Clock Edge.
This bit determines which type of level transition on the external clock pin EXCLK will trigger
the free running counter.
0: A falling edge triggers the free running counter.
1: A rising edge triggers the free running counter.
STATUS REGISTER (SR)
Timer1 Register Address: 0033h
Timer2 Register Address: 0043h
Read Only
Reset Value: 0000 0000 (00h)
The three least significant bits are not used.
Bit 7 = ICF1 Input Capture Flag 1.
0:
1:
Bit 6 = OCF1 Output Compare Flag 1.
0:
1:
Bit 5 = TOF Timer Overflow.
0:
1:
Reading or writing the ACLR register do not clear TOF.
Bit 4 = ICF2 Input Capture Flag 2.
0:
ICF1
No input capture (reset value)
the SR register, then read or write the low byte of the CR (CLR) register.
7
No input capture (reset value)
An input capture has occurred. To clear this bit, first read the SR register, then read or
No match (reset value)
The content of the free running counter has matched the content of the OCR1
register. To clear this bit, first read the SR register, then read or write the low byte of
the OCR1 (OCLR1) register.
No timer overflow (reset value)
The free running counter rolled over from FFFFh to 0000h. To clear this bit, first read
write the low byte of the ICR1 (ICLR1) register.
OCF1
TOF
ICF2
OCF2
L9803
0

Related parts for L9803