<ins id="pj9cn"><sup id="pj9cn"></sup></ins>
<rt id="pj9cn"></rt>
<em id="pj9cn"><label id="pj9cn"><input id="pj9cn"></input></label></em>
<small id="pj9cn"><noframes id="pj9cn"><thead id="pj9cn"></thead>
  • <pre id="pj9cn"><strike id="pj9cn"></strike></pre>
  • 參數(shù)資料
    型號: PIC16C782-I/SS
    廠商: Microchip Technology
    文件頁數(shù): 108/186頁
    文件大小: 0K
    描述: IC MCU CMOS 8BIT 2K 20MHZ 20SSOP
    產(chǎn)品培訓(xùn)模塊: Asynchronous Stimulus
    標(biāo)準(zhǔn)包裝: 67
    系列: PIC® 16C
    核心處理器: PIC
    芯體尺寸: 8-位
    速度: 20MHz
    外圍設(shè)備: 欠壓檢測/復(fù)位,POR,PWM,WDT
    輸入/輸出數(shù): 13
    程序存儲器容量: 3.5KB(2K x 14)
    程序存儲器類型: OTP
    RAM 容量: 128 x 8
    電壓 - 電源 (Vcc/Vdd): 4 V ~ 5.5 V
    數(shù)據(jù)轉(zhuǎn)換器: A/D 8x8b; D/A 1x8b
    振蕩器型: 內(nèi)部
    工作溫度: -40°C ~ 85°C
    封裝/外殼: 20-SSOP(0.209",5.30mm 寬)
    包裝: 管件
    配用: XLT20SS1-1-ND - SOCKET TRANSITION 20DIP 20SSOP
    其它名稱: PIC16C782I/SS
    第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頁當(dāng)前第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頁第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頁
    PIC16C781/782
    DS41171A-page 26
    Preliminary
    2001 Microchip Technology Inc.
    3.2
    PORTA and the TRISA Register
    PORTA is an 8-bit wide, bi-directional port with the
    exception of RA0, RA1 and RA5, which are inputs only.
    The corresponding data direction register is TRISA.
    Setting a TRISA bit (= 1) makes the corresponding
    PORTA pin an input (i.e., disables the digital output).
    Clearing a TRISA bit (= 0) makes the corresponding
    PORTA pin an output (i.e., disables the digital output).
    Reading the PORTA register reads the status of the
    pins, whereas writing to it, writes to the port latch. All
    write operations are read-modify-write operations.
    Therefore, a write to a port implies that the port pins are
    read, this value is then modified and written to the port
    data latch.
    Pins RA<3:0> are multiplexed with analog functions:
    Analog inputs AN<3:0> to the A/D Converter.
    VREF1 and VREF2 inputs to the comparators.
    OPAMP inverting/non-inverting inputs.
    Pins RA<7:4> are multiplexed with digital functions:
    Pin RA4 is multiplexed with the TMR0 module
    clock input.
    Pin RA5 is multiplexed with the device RESET
    (MCLR) and programming input (VPP) function.
    Pins RA6 and RA7 are multiplexed with the
    oscillator/clock I/O functions. RA6 can also be
    configured as the TMR1 clock input.
    PORTA has the following I/O characteristics:
    RA0, RA1, and RA5 are input only.
    RA4 is an open drain output. All other PORTA
    pins have full CMOS buffer outputs.
    All PORTA pins have Schmitt trigger inputs.
    EXAMPLE 3-1:
    INITIALIZING PORTA
    ;*
    This code block will configure PORTA
    ;*
    as follows
    ;*
    RA<7:4>
    digital outputs
    ;*
    RA<3:2>
    digital inputs
    ;*
    RA<1:0>
    analog inputs
    ;*
    RB<3:0>
    digital I/O
    ;*
    Note 1: RB<3:0> configured as digital I/O
    ;*
    Note 2: RA<7:6> availability depends on
    ;*
    the oscillator selection
    BANKSEL
    PORTA
    ; Select Bank 0
    CLRF
    PORTA
    ; Preset PORTA data
    ;
    reg
    BANKSEL
    TRISA
    ; Select Bank 1
    MOVLW
    B’00001111’; Digital I/O
    ;
    config data
    MOVWF
    TRISA
    ; Configure PORTA
    ;
    digital
    MOVLW
    B’00000011’; Analog I/O config
    ;
    data
    MOVWF
    ANSEL
    ; Configure PORTA
    ;
    analog
    3.2.1
    TRISA, ANSEL, AND CONTROL
    PRECEDENCE
    The ANSEL and TRISA registers are the primary soft-
    ware controls for the configuration of PORTA pins.
    TRISA bits tri-state the output drivers of PORTA, and
    ANSEL register bits control the digital input buffers. It is
    important to program both registers when configuring a
    mixed signal port pin, as most peripherals cannot over-
    ride the TRISA and ANSEL registers control. Even if a
    peripheral has the ability to override control of the
    TRISA and ANSEL registers, it is good programming
    practice to program both registers appropriately.
    There are specific cases in which the TRISA and
    ANSEL registers can be overridden by a peripheral or
    a configuration bit, see Figures 3-1 through 3-8 for
    details.
    Note:
    When the analog peripherals are using any
    of these pins as analog input/output, the
    ANSEL register must have the proper
    value to individually select the Analog
    mode of the corresponding pins.
    Note:
    Crystal (LP, XT and HS) oscillator configu-
    rations
    use
    pin
    RA6/OSC2/CLKOUT/
    T1CKI as OSC2. In these modes, setting
    or clearing TRISA<6> will have no effect
    and the pin will read as a zero (0).
    相關(guān)PDF資料
    PDF描述
    PIC16LC558-04/SO IC MCU OTP 2KX14 18SOIC
    PIC16C558-20/P IC MCU OTP 2KX14 18DIP
    VE-23Y-IY CONVERTER MOD DC/DC 3.3V 33W
    VE-23Y-IX CONVERTER MOD DC/DC 3.3V 49.5W
    VE-23Y-IW CONVERTER MOD DC/DC 3.3V 66W
    相關(guān)代理商/技術(shù)參數(shù)
    參數(shù)描述
    PIC16C782T-E/SO 功能描述:8位微控制器 -MCU w/Adv Analog 20MHz RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
    PIC16C782T-E/SS 功能描述:8位微控制器 -MCU w/Adv Analog 20MHz RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
    PIC16C782T-I/SO 功能描述:8位微控制器 -MCU 3.5KB 128 RAM 16 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
    PIC16C782T-I/SS 功能描述:8位微控制器 -MCU 3.5KB 128 RAM 16 I/O RoHS:否 制造商:Silicon Labs 核心:8051 處理器系列:C8051F39x 數(shù)據(jù)總線寬度:8 bit 最大時鐘頻率:50 MHz 程序存儲器大小:16 KB 數(shù)據(jù) RAM 大小:1 KB 片上 ADC:Yes 工作電源電壓:1.8 V to 3.6 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:QFN-20 安裝風(fēng)格:SMD/SMT
    PIC16C8404ISO 制造商:MICROCHIP 功能描述:New