Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

68HC05P4A Datasheet(PDF) 49 Page - Freescale Semiconductor, Inc

Part # 68HC05P4A
Description  SPECIFICATION (General Release)
PDF  83 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

68HC05P4A Datasheet(HTML) 49 Page - Freescale Semiconductor, Inc

Back Button 68HC05P4A Datasheet HTML 45Page - Freescale Semiconductor, Inc 68HC05P4A Datasheet HTML 46Page - Freescale Semiconductor, Inc 68HC05P4A Datasheet HTML 47Page - Freescale Semiconductor, Inc 68HC05P4A Datasheet HTML 48Page - Freescale Semiconductor, Inc 68HC05P4A Datasheet HTML 49Page - Freescale Semiconductor, Inc 68HC05P4A Datasheet HTML 50Page - Freescale Semiconductor, Inc 68HC05P4A Datasheet HTML 51Page - Freescale Semiconductor, Inc 68HC05P4A Datasheet HTML 52Page - Freescale Semiconductor, Inc 68HC05P4A Datasheet HTML 53Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 49 / 83 page
background image
GENERAL RELEASE SPECIFICATION
TIMER
MC68HC05P4A
8-6
Rev. 2.0
8.5
Timer Status Register (TSR) $13
The TSR is a read-only register containing three status flag bits.
ICF — Input Capture Flag
1 =
Flag set when selected polarity edge is sensed by input capture
edge detector
0 =
Flag cleared when TSR and input capture low register ($15) are
accessed
OCF — Output Compare Flag
1 =
Flag set when output compare register contents match the free-
running counter contents
0 =
Flag cleared when TSR and output compare low register ($17) are
accessed
TOF — Timer Overflow Flag
1 =
Flag set when free-running counter transition from $FFFF to $0000
occurs
0 =
Flag cleared when TSR and counter low register ($19) are accessed
Bits 0-4 — Not used
Always read zero
Accessing the timer status register satisfies the first condition required to clear
status bits. The remaining step is to access the register corresponding to the
status bit.
A problem can occur when using the timer overflow function and reading the free-
running counter at random times to measure an elapsed time.
Without
incorporating the proper precautions into software, the timer overflow flag could
unintentionally be cleared if:
1.
The timer status register is read or written when TOF is set, and
2.
The LSB of the free-running counter is read but not for the purpose of
servicing the flag.
The counter alternate register at address $1A and $1B contains the same value
as the free-running counter (at address $18 and $19); therefore, this alternate
register can be read at any time without affecting the timer overflow flag in the
timer status register.
$13
ICF
OCF
TOF
00000
RESET:
U
U
U
00000
Figure 8-3. Timer Status Register
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   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