FMUSER Wirless Transmit Video And Audio More Easier !

[email protected] WhatsApp +8618078869184
Language

    STC12C5A60S2 header file

     

    STC12C5A60S2 / AD / PWM series MCU is a single-clock / machine cycle (1T) produced by Hongjing Technology. It is a new generation of 8051 single-chip microcomputer with high speed / low power / super anti-interference. The command code is fully compatible with traditional 8051, but the speed Fast 8-12 times. Internal integrated MAX810 special reset circuit, 2 PWM, 8 high-speed 10-bit A / D conversion (250K / s), for motor control, strong interference occasions STC12C5A60S2 must use STC12C5A.H. Some of the register addresses and 51. LZ is attached to the error prompt. The most common mistake is no SBIT P00 = P0 ^ 0; this statement. About the header file is placed. It is recommended to put it in the directory where the project is located. Then the program is in front of the #include "stc12c5a.h" Note that the double quotes are not the corner spacing. // Single-chip core special function register SFR ACC = 0xE0; SFR B = 0xF0; SFR PSW = 0xD0; SBIT CY = PSW ^ 7; SBIT AC = PSW ^ 6; SBIT F0 = PSW ^ 5; SBIT RS1 = PSW ^ 4; SBIT RS0 = PSW ^ 3; SBIT OV = PSW ^ 2; SBIT P = PSW ^ 0; SFR sp = 0x81; SFR DPL = 0x82; SFR DPH = 0x83; SFR PCON = 0x87; SFR AUXR = 0x8E; SFR auxr1 = 0xA2; SFR WAKE_CLKO = 0x8f; SFR CLK_DIV = 0x97; // Single chip interrupt special function register SFR IE = 0xA8; SBIT EA = IE ^ 7; SBIT ELVD = IE ^ 6; SBIT EADC = IE ^ 5; SBIT ES = IE ^ 4; SBIT ET1 = IE ^ 3; SBIT EX1 = IE ^ 2; SBIT ET0 = IE ^ 1; SBIT EX0 = IE ^ 0; SFR IE2 = 0xAF; SFR IP = 0x88; SBIT PPCA = IP ^ 7; SBIT PLVD = IP ^ 6; SBIT PADC = IP ^ 5; SBIT PS = IP ^ 4; SBIT PT1 = IP ^ 3; SBIT PX1 = IP ^ 2; SBIT PT0 = IP ^ 1; SBIT PX0 = IP ^ 0; SFR iPh = 0xB7; SFR IP2 = 0xB5; SFR iPh2 = 0xB6; SFR P0 = 0x80; SFR P0M0 = 0x94; SFR P0M1 = 0x93; SFR P1 = 0x90; SFR P1M0 = 0x92; SFR P1M1 = 0x91; SFR P1ASF = 0x9d; SFR P2 = 0xA0; SFR P2M0 = 0x96; SFR P2M1 = 0x95; SFR P3 = 0xB0; SFR P3M0 = 0xB2; SFR P3M1 = 0xB1; SFR P4 = 0xc0; SFR P4M0 = 0xB4; SFR P4M1 = 0xB3; SFR P4SW = 0xBb; SFR P5 = 0xC8; SFR P5M0 = 0xca; SFR P5M1 = 0xc9; // Single-chip timer special function register SFR TCON = 0x88; SBIT TF1 = TCON ^ 7; SBIT TR1 = TCON ^ 6; SBIT TF0 = TCON ^ 5; SBIT TR0 = TCON ^ 4; SBIT IE1 = TCON ^ 3; SBIT IT1 = TCON ^ 2; SBIT IE0 = TCON ^ 1; SBIT IT0 = TCON ^ 0; SFR TMOD = 0x89; SFR TL0 = 0x8a; SFR TH0 = 0x8c; SFR TL1 = 0x8b; SFR TH1 = 0x8d; // Single chip serial special function register SFR SCON = 0x98; SBIT SM0 = SCON ^ 7; SBIT SM1 = SCON ^ 6; SBIT SM2 = SCON ^ 5; SBIT REN = SCON ^ 4; SBIT TB8 = SCON ^ 3; SBIT RB8 = SCON ^ 2; SBIT TI = SCON ^ 1; SBIT RI = SCON ^ 0; SFR SBUF = 0x99; SFR SADEN = 0xB9; SFR SADDR = 0xA9; SFR S2CON = 0x9a; SFR S2BUF = 0x9b; SFR BRT = 0x9c; // Single chip micrometer watchdog timer special function register SFR WDT_CONTR = 0xC1; // Single chip PCM / PWM special function register SFR CCON = 0xD8; SBIT CF = CCON ^ 7; SBIT CR = CCON ^ 6; SBIT CCF1 = CCON ^ 1; SBIT CCF0 = CCON ^ 0; SFR CMOD = 0xD9; SFR CL = 0xE9; SFR CH = 0xF9; SFR CCAPM0 = 0xDA; SFR CCAPM1 = 0xDB; SFR CCAP0L = 0xEA; SFR CCAP0H = 0xFA; SFR CCAP1L = 0xeb; SFR CCAP1H = 0xfb; SFR PCA_PWM0 = 0xF2; SFR PCA_PWM1 = 0xF3; // MCU ADC Special Function Register SFR ADC_Contr = 0xBC; SFR ADC_RES = 0xBd; SFR ADC_RESL = 0XBE; // Single-chip SPI special function register SFR SPCTL = 0XCE; SFR spstat = 0xcd; SFR SPDAT = 0xcf; // Single Chip Microcomputer IAP / ISP Special Function Register SFR IAP_DATA = 0xC2; SFR IAP_ADDRH = 0xC3; SFR IAP_ADDRL = 0xc4; SFR IAP_CMD = 0xC5; SFR IAP_TRIG = 0xC6; SFR IAP_CONTR = 0xc7; In the face of large burnt amounts and strict performance requirements, how to efficiently quickly produce automobile zero components VHDL button controls digital tube display Switch controls the design and implementation of VHDL programs for digital tubes Use fast Fourier transform to calculate Java8 new features

     

     

     

     

    List all Question

    Nickname

    Email

    Questions

    Our other product:

    Professional FM Radio Station Equipment Package

     



     

    Hotel IPTV Solution

     


      Enter email  to get a surprise

      fmuser.org

      es.fmuser.org
      it.fmuser.org
      fr.fmuser.org
      de.fmuser.org
      af.fmuser.org ->Afrikaans
      sq.fmuser.org ->Albanian
      ar.fmuser.org ->Arabic
      hy.fmuser.org ->Armenian
      az.fmuser.org ->Azerbaijani
      eu.fmuser.org ->Basque
      be.fmuser.org ->Belarusian
      bg.fmuser.org ->Bulgarian
      ca.fmuser.org ->Catalan
      zh-CN.fmuser.org ->Chinese (Simplified)
      zh-TW.fmuser.org ->Chinese (Traditional)
      hr.fmuser.org ->Croatian
      cs.fmuser.org ->Czech
      da.fmuser.org ->Danish
      nl.fmuser.org ->Dutch
      et.fmuser.org ->Estonian
      tl.fmuser.org ->Filipino
      fi.fmuser.org ->Finnish
      fr.fmuser.org ->French
      gl.fmuser.org ->Galician
      ka.fmuser.org ->Georgian
      de.fmuser.org ->German
      el.fmuser.org ->Greek
      ht.fmuser.org ->Haitian Creole
      iw.fmuser.org ->Hebrew
      hi.fmuser.org ->Hindi
      hu.fmuser.org ->Hungarian
      is.fmuser.org ->Icelandic
      id.fmuser.org ->Indonesian
      ga.fmuser.org ->Irish
      it.fmuser.org ->Italian
      ja.fmuser.org ->Japanese
      ko.fmuser.org ->Korean
      lv.fmuser.org ->Latvian
      lt.fmuser.org ->Lithuanian
      mk.fmuser.org ->Macedonian
      ms.fmuser.org ->Malay
      mt.fmuser.org ->Maltese
      no.fmuser.org ->Norwegian
      fa.fmuser.org ->Persian
      pl.fmuser.org ->Polish
      pt.fmuser.org ->Portuguese
      ro.fmuser.org ->Romanian
      ru.fmuser.org ->Russian
      sr.fmuser.org ->Serbian
      sk.fmuser.org ->Slovak
      sl.fmuser.org ->Slovenian
      es.fmuser.org ->Spanish
      sw.fmuser.org ->Swahili
      sv.fmuser.org ->Swedish
      th.fmuser.org ->Thai
      tr.fmuser.org ->Turkish
      uk.fmuser.org ->Ukrainian
      ur.fmuser.org ->Urdu
      vi.fmuser.org ->Vietnamese
      cy.fmuser.org ->Welsh
      yi.fmuser.org ->Yiddish

       
  •  

    FMUSER Wirless Transmit Video And Audio More Easier !

  • Contact

    Address:
    No.305 Room HuiLan Building No.273 Huanpu Road Guangzhou China 510620

    E-mail:
    [email protected]

    Tel / WhatApps:
    +8618078869184

  • Categories

  • Newsletter

    FIRST OR FULL NAME

    E-mail

  • paypal solution  Western UnionBank OF China
    E-mail:[email protected]   WhatsApp:+8618078869184   Skype:sky198710021 Chat with me
    Copyright 2006-2020 Powered By www.fmuser.org

    Contact Us