PIC16LC711-04/P Microchip Technology, PIC16LC711-04/P Datasheet - Page 35

IC MCU OTP 1KX14 A/D 18DIP

PIC16LC711-04/P

Manufacturer Part Number
PIC16LC711-04/P
Description
IC MCU OTP 1KX14 A/D 18DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets

Specifications of PIC16LC711-04/P

Core Size
8-Bit
Program Memory Size
1.75KB (1K x 14)
Oscillator Type
External
Core Processor
PIC
Speed
4MHz
Peripherals
Brown-out Detect/Reset, PWM, WDT
Number Of I /o
13
Program Memory Type
OTP
Ram Size
68 x 8
Voltage - Supply (vcc/vdd)
2.5 V ~ 6 V
Data Converters
A/D 4x8b
Operating Temperature
0°C ~ 70°C
Package / Case
18-DIP (0.300", 7.62mm)
Controller Family/series
PIC16LC
No. Of I/o's
13
Ram Memory Size
68Byte
Cpu Speed
4MHz
No. Of Timers
1
Digital Ic
RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16LC711-04/P
Quantity:
6
6.3.1
The prescaler assignment is fully under software con-
trol, i.e., it can be changed “on the fly” during program
execution.
EXAMPLE 6-1:
To change prescaler from the WDT to the Timer0
module use the sequence shown in Example 6-2.
EXAMPLE 6-2:
TABLE 6-1:
Address
01h
0Bh,8Bh,
81h
85h
Legend: x = unknown, u = unchanged, - = unimplemented locations read as '0'. Shaded cells are not used by Timer0.
1997 Microchip Technology Inc.
BCF
CLRF
BSF
CLRWDT
MOVLW
MOVWF
BCF
CLRWDT
BSF
MOVLW
MOVWF
BCF
SWITCHING PRESCALER ASSIGNMENT
STATUS, RP0
TMR0
STATUS, RP0
b'xxxx1xxx'
OPTION_REG
STATUS, RP0
Name
TMR0
INTCON
OPTION RBPU INTEDG
TRISA
STATUS, RP0 ;Bank 1
b'xxxx0xxx' ;Select TMR0, new prescale value and
OPTION_REG
STATUS, RP0 ;Bank 0
REGISTERS ASSOCIATED WITH TIMER0
CHANGING PRESCALER (TIMER0 WDT)
CHANGING PRESCALER (WDT TIMER0)
Timer0 module’s register
Bit 7
GIE
;Bank 0
;Clear TMR0 & Prescaler
;Bank 1
;Clears WDT
;Selects new prescale value
;and assigns the prescaler to the WDT
;Bank 0
;Clear WDT and prescaler
;clock source
ADIE
Bit 6
T0CS
Bit 5
T0IE
PORTA Data Direction Register
T0SE
INTE
Bit 4
RBIE
Bit 3
PSA
Note:
Bit 2
T0IF
PS2
To avoid an unintended device RESET, the
following instruction sequence (shown in
Example 6-1) must be executed when
changing the prescaler assignment from
Timer0 to the WDT. This sequence must be
followed even if the WDT is disabled.
INTF
Bit 1
PS1
Bit 0
RBIF
PS0
PIC16C71X
xxxx xxxx
0000 000x
1111 1111
---1 1111
Value on:
POR,
BOR
DS30272A-page 35
other resets
Value on all
uuuu uuuu
0000 000u
1111 1111
---1 1111

Related parts for PIC16LC711-04/P