PIC16C74B-20/P Microchip Technology Inc., PIC16C74B-20/P Datasheet - Page 94

no-image

PIC16C74B-20/P

Manufacturer Part Number
PIC16C74B-20/P
Description
40 PIN, 7 KB OTP, 192 RAM, 33 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16C74B-20/P

A/d Inputs
8-Channel, 8-Bit
Cpu Speed
5 MIPS
Eeprom Memory
0 Bytes
Input Output
33
Interface
I2C/SPI/USART
Memory Type
OTP
Number Of Bits
8
Package Type
40-pin PDIP
Programmable Memory
7K Bytes
Ram Size
192 Bytes
Speed
4 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2.5-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C74B-20/PQ
Manufacturer:
MIC
Quantity:
465
Part Number:
PIC16C74B-20/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16C74B-20/PQ
Manufacturer:
MICRO
Quantity:
20 000
Part Number:
PIC16C74B-20/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC16C63A/65B/73B/74B
FIGURE 13-5:
13.5.1
The external interrupt on RB0/INT pin is edge trig-
gered: either rising if bit INTEDG (OPTION_REG<6>)
is set, or falling if the INTEDG bit is clear. When a valid
edge appears on the RB0/INT pin, flag bit INTF
(INTCON<1>) is set. This interrupt can be disabled by
clearing enable bit INTE (INTCON<4>). Flag bit INTF
must be cleared in software in the Interrupt Service
Routine before re-enabling this interrupt. The INT inter-
rupt can wake-up the processor from SLEEP, if bit INTE
was set prior to going into SLEEP. The status of global
interrupt enable bit GIE decides whether or not the pro-
cessor branches to the interrupt vector following wake-
up. See Section 13.8 for details on SLEEP mode.
13.5.2
An overflow (FFh
flag bit T0IF (INTCON<2>). The interrupt can be
enabled/disabled by setting/clearing enable bit T0IE
(INTCON<5>) (see Section 6.0).
DS30605C-page 94
The following table shows which devices have which interrupts.
PIC16C63A
PIC16C65B
PIC16C73B
PIC16C74B
PSPIF
PSPIE
CCP2IF
CCP2IE
Device
ADIF
ADIE
INT INTERRUPT
TMR0 INTERRUPT
TMR1IF
TMR1IE
T0IF
Yes
Yes
Yes
Yes
RCIF
RCIE
TMR2IF
TMR2IE
00h) in the TMR0 register will set
INTERRUPT LOGIC
INTF
Yes
Yes
Yes
Yes
TXIF
TXIE
SSPIF
SSPIE
CCP1IF
CCP1IE
RBIF
Yes
Yes
Yes
Yes
PSPIF
Yes
Yes
ADIF
Yes
Yes
RCIF
Yes
Yes
Yes
Yes
TXIF
T0IF
T0IE
INTF
INTE
RBIF
RBIE
PEIE
GIE
Yes
Yes
Yes
Yes
13.5.3
An input change on PORTB<7:4> sets flag bit RBIF
(INTCON<0>). The interrupt can be enabled/disabled
by setting/clearing enable bit RBIE (INTCON<4>).
(Section 5.2)
Note:
SSPIF
Yes
Yes
Yes
Yes
If a change on the I/O pin should occur
when the read operation is being executed
(start of the Q2 cycle), then the RBIF inter-
rupt flag may not get set.
PORTB INTERRUPT-ON-CHANGE
CCP1IF
Yes
Yes
Yes
Yes
TMR2IF
Yes
Yes
Yes
Yes
2000 Microchip Technology Inc.
Wake-up (If in SLEEP mode)
TMR1IF
Yes
Yes
Yes
Yes
Interrupt to CPU
CCP2IF
Yes
Yes
Yes
Yes

Related parts for PIC16C74B-20/P