công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

P9S12XEP100J1VVLR bảng dữ liệu(PDF) 688 Page - Freescale Semiconductor, Inc

tên linh kiện P9S12XEP100J1VVLR
Giải thích chi tiết về linh kiện  HCS12X Microcontrollers
PDF  1324 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  FREESCALE [Freescale Semiconductor, Inc]
Trang chủ  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

P9S12XEP100J1VVLR bảng dữ liệu(HTML) 688 Page - Freescale Semiconductor, Inc

Back Button P9S12XEP100J1VVLR Datasheet HTML 684Page - Freescale Semiconductor, Inc P9S12XEP100J1VVLR Datasheet HTML 685Page - Freescale Semiconductor, Inc P9S12XEP100J1VVLR Datasheet HTML 686Page - Freescale Semiconductor, Inc P9S12XEP100J1VVLR Datasheet HTML 687Page - Freescale Semiconductor, Inc P9S12XEP100J1VVLR Datasheet HTML 688Page - Freescale Semiconductor, Inc P9S12XEP100J1VVLR Datasheet HTML 689Page - Freescale Semiconductor, Inc P9S12XEP100J1VVLR Datasheet HTML 690Page - Freescale Semiconductor, Inc P9S12XEP100J1VVLR Datasheet HTML 691Page - Freescale Semiconductor, Inc P9S12XEP100J1VVLR Datasheet HTML 692Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 688 / 1324 page
background image
Chapter 18 Periodic Interrupt Timer (S12PIT24B4CV2)
MC9S12XE-Family Reference Manual , Rev. 1.21
688
Freescale Semiconductor
Because of an order from the United States International Trade Commission, BGA-packaged product lines and partnumbers
indicated here currently are not available from Freescale for import or sale in the United States prior to September 2010
modify-write instruction which writes back the “bit-wise or” of the flag_register and the mask into the
flag_register. BSET would clear all flag bits that were set, independent from the mask.
For example, to clear flag bit 0 use: MOVB #$01,PITTF.
18.6
Application Information
To get started quickly with the PIT24B4C module this section provides a small code example how to use
the block. Please note that the example provided is only one specific case out of the possible configurations
and implementations.
Functionality: Generate an PIT interrupt on channel 0 every 500 PIT clock cycles.
ORG
CODESTART
; place the program into specific
; range (to be selected)
LDS
RAMEND
; load stack pointer to top of RAM
MOVW
#CH0_ISR,VEC_PIT_CH0 ; Change value of channel 0 ISR adr
; ******************** Start PIT Initialization *******************************************************
CLR
PITCFLMT
; disable PIT
MOVB
#$01,PITCE
; enable timer channel 0
CLR
PITMUX
; ch0 connected to micro timer 0
MOVB
#$63,PITMTLD0
; micro time base 0 equals 100 clock cycles
MOVW
#$0004,PITLD0
; time base 0 eq. 5 micro time bases 0 =5*100 = 500
MOVB
#$01,PITINTE
; enable interupt channel 0
MOVB
#$80,PITCFLMT
; enable PIT
CLI
; clear Interupt disable Mask bit
;******************** Main Program *************************************************************
MAIN:
BRA *
; loop until interrupt
;******************** Channel 0 Interupt Routine ***************************************************
CH0_ISR:
LDAA
PITTF
; 8 bit read of PIT time out flags
MOVB
#$01,PITTF
; clear PIT channel 0 time out flag
RTI
; return to MAIN



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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