Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

ST7285C Datasheet(PDF) 39 Page - STMicroelectronics

Part # ST7285C
Description  8-BIT MCU FOR RDS WITH 48K ROM, 3K RAM, ADC, TWO TIMERS, TWO SPIs, I2C AND SCI INTERFACES
Download  117 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST7285C Datasheet(HTML) 39 Page - STMicroelectronics

Back Button ST7285C Datasheet HTML 35Page - STMicroelectronics ST7285C Datasheet HTML 36Page - STMicroelectronics ST7285C Datasheet HTML 37Page - STMicroelectronics ST7285C Datasheet HTML 38Page - STMicroelectronics ST7285C Datasheet HTML 39Page - STMicroelectronics ST7285C Datasheet HTML 40Page - STMicroelectronics ST7285C Datasheet HTML 41Page - STMicroelectronics ST7285C Datasheet HTML 42Page - STMicroelectronics ST7285C Datasheet HTML 43Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 39 / 117 page
background image
39/117
ST7285C
16-BIT TIMER (Cont’d)
4.3.4 Input Capture
The timer features two input capture registers and
an input capture interrupt enable bit.
The Input Capture Registers (ICR1 and ICR2)
each consist of two 8-bit registers: the most signif-
icant byte registers (ICHR1 and ICHR2), and the
least significant byte registers (ICLR1 and ICLR2).
In the following description, the variable
i may rep-
resent 1 or 2.
ICR
i is a read-only registers used to latch the val-
ue of the free running counter after a defined tran-
sition is sensed by the input capture edge detector
at pin ICAP
i. This transition is software program-
mable through the IEDG
i bit of the Timer Control
Register (TCR
i). When IEDGi is set, a rising edge
triggers the capture; when IEDG
i is low, the cap-
ture is triggered by a falling edge.
When an input capture occurs, the ICF
i flag in the
Timer Status Register (TSR) is set. An interrupt is
requested if the interrupt enable bit, ICIE, of TCR1
is set, provided the I bit of the CCR is reset. Other-
wise, the interrupt remains pending until both con-
ditions become true. It is cleared by reading the
TSR followed by a read or write of the LSB of ICR
i.
The result stored in ICR
i is one more than the val-
ue of the free running counter on the rising edge of
the internal processor clock preceding the active
transition on the ICAP
i pin (see Figure 5). This de-
lay is required for internal synchronization. There-
fore, the timing resolution of the input capture sys-
tem is one count of the free running counter, i.e. 2,
4 or 8 internal clock cycles, depending on the clock
control bits of TCR2.
The free running counter is transferred to ICR
i on
each proper signal transition regardless of wheth-
er the Input Capture Flag ICF
i is set or cleared.
The ICR
i always contains the free running counter
value which corresponds to the most recent input
capture.
After reading the MSB of ICRi, transfer of input
capture data is inhibited until the LSB is also read.
This implies that the minimum pulse period is de-
termined by the time required to respond to the in-
terrupt and to execute the service routine.
Reading ICLR
i does not inhibit transfer of counter
data. The minimum pulse period is determined by
the time required to read the least significant byte
and to perform necessary actions. There is no
conflict between reading ICR
i and the running
counter transfer, since they occur on opposite
clock edges as shown in Figure 5.
ICR
i is undetermined on power-on, and is not af-
fected by an external Reset. Hardware circuitry
must provide protection against generating an un-
desired input capture when changing the edge
sensitivity option of the ICAP
i pin by programming
the IEDG
i bit.
During HALT mode, if at least one valid input cap-
ture edge occurs on the ICAP
i pin, the input cap-
ture detection circuitry is armed. This does not set
any timer flags, and does not ”wake-up” the MCU.
If the MCU is awoken by an interrupt, the input
capture flag will be active, and data corresponding
to the first valid edge during HALT mode will be
present. If HALT mode is exited by a Reset, the in-
put capture detection circuitry is reset and thus,
any active edge that occurred during HALT mode
will be lost.
Figure 21. Input Capture Timing Diagram
FF01
FF02
FF03
FF03
CPU CLOCK
÷2
CPU CLOCK
÷4
CPU CLOCK
÷8
INTERNAL CLOCK T10
INTERNAL CLOCK T11
COUNTER REGISTER
ICAPi PIN
ICAPi FLAG
ICAPi REGISTER


Similar Part No. - ST7285C

ManufacturerPart #DatasheetDescription
logo
STMicroelectronics
ST7282 STMICROELECTRONICS-ST7282 Datasheet
260Kb / 23P
   ROM FROM EPROM
ST7282A5 STMICROELECTRONICS-ST7282A5 Datasheet
260Kb / 23P
   ROM FROM EPROM
ST7282B5 STMICROELECTRONICS-ST7282B5 Datasheet
260Kb / 23P
   ROM FROM EPROM
logo
Sitronix Technology Co....
ST7282T2 SITRONIX-ST7282T2 Datasheet
1Mb / 77P
   720x544 System-On-Chip Driver for 480RGBx272 TFT LCD
Version 1.2 2016/03
More results

Similar Description - ST7285C

ManufacturerPart #DatasheetDescription
logo
STMicroelectronics
ST72F262G2B5 STMICROELECTRONICS-ST72F262G2B5 Datasheet
1Mb / 172P
   8-BIT MCU WITH FLASH OR ROM MEMORY, ADC, TWO 16-BIT TIMERS, I2C, SPI, SCI INTERFACES
ST72260G STMICROELECTRONICS-ST72260G Datasheet
2Mb / 171P
   8-BIT MCU WITH FLASH OR ROM MEMORY, ADC, TWO 16-BIT TIMERS, I2C, SPI, SCI INTERFACES
August 2003 Rev. 1.7
ST72260GX STMICROELECTRONICS-ST72260GX Datasheet
1Mb / 172P
   8-BIT MCU WITH FLASH OR ROM MEMORY, ADC, TWO 16-BIT TIMERS, I2C, SPI, SCI INTERFACES
ST72340 STMICROELECTRONICS-ST72340 Datasheet
3Mb / 191P
   8-BIT MCU WITH UP TO 16K FLASH MEMORY, 10-BIT ADC, TWO 16-BIT TIMERS, TWO I2C, SPI, SCI
ST7250 STMICROELECTRONICS-ST7250 Datasheet
19Kb / 1P
   8-BIT MCU FOR CAN WITH 32K ROM, 1K RAM, EEPROM, ADC, WDG, PWM/BRM, 2 TIMERS, SPI AND SCI INTERFACES
October 1997 Rev. 1.2
ST72334XX-AUTO STMICROELECTRONICS-ST72334XX-AUTO Datasheet
3Mb / 150P
   8-bit MCU for automotive with single voltage Flash/ROM memory, ADC, 16-bit timers, SPI, SCI interfaces
ST7232A STMICROELECTRONICS-ST7232A Datasheet
1Mb / 154P
   8-BIT MCU WITH 8K FLASH/ROM, ADC, 4 TIMERS, SPI, SCI INTERFACE
ST72104GX-AUTO STMICROELECTRONICS-ST72104GX-AUTO Datasheet
3Mb / 135P
   8-bit MCU for automotive with single voltage Flash/ROM memory, ADC, 16-bit timers, SPI, I2C interfaces
ST72325 STMICROELECTRONICS-ST72325_07 Datasheet
3Mb / 196P
   8-bit MCU with 16 to 60K Flash/ROM, ADC, CSS, 5 timers, SPI, SCI, I2C interface
ST72325 STMICROELECTRONICS-ST72325 Datasheet
1Mb / 193P
   8-BIT MCU WITH 16 TO 60K FLASH/ROM, ADC, CSS, FIVE TIMERS, SPI, SCI, I2C INTERFACE
More results


Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.NET
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com