• <form id="9uyut"><tbody id="9uyut"></tbody></form>
  • <form id="9uyut"><meter id="9uyut"><sub id="9uyut"></sub></meter></form><dfn id="9uyut"><pre id="9uyut"></pre></dfn>
  • <code id="9uyut"></code>
    <form id="9uyut"><meter id="9uyut"><ul id="9uyut"></ul></meter></form>
    參數(shù)資料
    型號: MCHC812A4CPV8
    廠商: 飛思卡爾半導(dǎo)體(中國)有限公司
    英文描述: Microcontrollers
    中文描述: 微控制器
    文件頁數(shù): 142/242頁
    文件大?。?/td> 1285K
    代理商: MCHC812A4CPV8
    第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頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁當(dāng)前第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁第196頁第197頁第198頁第199頁第200頁第201頁第202頁第203頁第204頁第205頁第206頁第207頁第208頁第209頁第210頁第211頁第212頁第213頁第214頁第215頁第216頁第217頁第218頁第219頁第220頁第221頁第222頁第223頁第224頁第225頁第226頁第227頁第228頁第229頁第230頁第231頁第232頁第233頁第234頁第235頁第236頁第237頁第238頁第239頁第240頁第241頁第242頁
    Standard Timer Module
    MC68HC812A4 Data Sheet, Rev. 7
    142
    Freescale Semiconductor
    ----------------------------------------------------------------------
    ; MAIN PROGRAM
    ; ----------------------------------------------------------------------
    ORG
    $7000
    ; 16K On-Board RAM, User code data area,
    ;
    ; start main program at $7000
    MAIN:
    BSR
    TIMERINIT
    ; Subroutine used to initialize the timer:
    ;
    ; Output compare channel, no interrupts
    BSR
    SQWAVE
    ; Subroutine to generate square wave
    DONE:
    BRA
    DONE
    ; Branch to itself, Convinient for Breakpoint
    ;* -----------------------------------------------------------------
    ;* Subroutine TIMERINIT: Initialize Timer for Output Compare on OC2
    ;* -----------------------------------------------------------------
    TIMERINIT:
    CLR
    TMSK1
    ; Disable All Interrupts
    MOVB
    #$02,TMSK2
    ; Disable overflow interrupt, disable pull-up
    ; resistor function with normal drive capability
    ; nd ree unning ounter, rescaler ys lock/4.
    ;
    ;
    MOVB
    #$10,TCTL2
    ; Initialize OC2 to toggle on successful compare.
    MOVB
    #$04,TIOS
    ; Select Channel 2 to act as output compare.
    MOVW
    #$0400,TC2H
    ; Load TC2 Reg with initial compare value.
    ;
    ;
    MOVB
    #$80,TSCR
    ; Enable Timer, Timer runs during wait state, and
    ; while in Background Mode, also clear flags
    ; normally.
    RTS
    ; Return from Subroutine
    ;* ------------------------------
    ;* SUBROUTINE: SQWAVE
    ;* ------------------------------
    SQWAVE:
    ;* -------
    CLEARFLG:
    ;* -------
    ;* To clear the C2F flag: 1) read TFLG1 when
    ;* C2F is set and then 2) write a logic "one" to C2F.
    LDAA
    ORAA
    STAA
    TFLG1
    #$04
    TFLG1
    ; To clear OC2 Flag, first it must be read,
    ; then a "1" must be written to it
    WTFLG:
    BRCLR
    TFLG1,#$04,WTFLG; Wait (Polling) for C2F Flag
    LDD
    ADDD
    STD
    TC2H
    #$0400
    TC2H
    ; Loads value of compare from TC2 Reg.
    ; Add hex value of 500us High Time
    ; Set-up next transition time in 500 us
    BRA
    CLEARFLG
    ; Continuously add 500 us, branch to CLEARFLAG
    RTS
    ; return from Subroutine
    END
    ; End of program
    相關(guān)PDF資料
    PDF描述
    MCHC812A4PV5 Microcontrollers
    MCHC812A4PV8 Microcontrollers
    MC68HC908QC4 Microcontrollers
    MC68HC908QC8 Microcontrollers
    MC68HC908LD64IFU Microcontrollers
    相關(guān)代理商/技術(shù)參數(shù)
    參數(shù)描述
    MCHC812A4PV5 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
    MCHC812A4PV8 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
    MCHC908AB32CFUR2 功能描述:IC MCU 32K FLASH 8MHZ 64-QFP RoHS:否 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:HC08 標(biāo)準(zhǔn)包裝:250 系列:56F8xxx 核心處理器:56800E 芯體尺寸:16-位 速度:60MHz 連通性:CAN,SCI,SPI 外圍設(shè)備:POR,PWM,溫度傳感器,WDT 輸入/輸出數(shù):21 程序存儲器容量:40KB(20K x 16) 程序存儲器類型:閃存 EEPROM 大小:- RAM 容量:6K x 16 電壓 - 電源 (Vcc/Vdd):2.25 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 6x12b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 125°C 封裝/外殼:48-LQFP 包裝:托盤 配用:MC56F8323EVME-ND - BOARD EVALUATION MC56F8323
    MCHC908AP16CBE 制造商:Freescale Semiconductor 功能描述:
    MCHC908AP32CFB 制造商:Motorola Inc 功能描述: