PIC16HV540-04/P Microchip Technology, PIC16HV540-04/P Datasheet - Page 17

IC MCU OTP 512X12 18DIP

PIC16HV540-04/P

Manufacturer Part Number
PIC16HV540-04/P
Description
IC MCU OTP 512X12 18DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr

Specifications of PIC16HV540-04/P

Core Size
8-Bit
Program Memory Size
768B (512 x 12)
Core Processor
PIC
Speed
4MHz
Peripherals
Brown-out Detect/Reset, POR, WDT
Number Of I /o
12
Program Memory Type
OTP
Ram Size
25 x 8
Voltage - Supply (vcc/vdd)
3.5 V ~ 15 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
18-DIP (0.300", 7.62mm)
Controller Family/series
PIC16HV
No. Of I/o's
12
Ram Memory Size
25Byte
Cpu Speed
4MHz
No. Of Timers
1
Digital Ic Case Style
DIP
Processor Series
PIC16H
Core
PIC
Data Bus Width
8 bit
Data Ram Size
25 B
Maximum Clock Frequency
4 MHz
Number Of Programmable I/os
12
Number Of Timers
8
Operating Supply Voltage
3.5 V to 15 V
Maximum Operating Temperature
+ 70 C
Mounting Style
Through Hole
Minimum Operating Temperature
0 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC164001 - MODULE SKT PROMATEII 18/28DIP
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16HV540-04/P
Manufacturer:
Microchip
Quantity:
1 736
4.8
The INDF register is not a physical register. Addressing
INDF actually addresses the register whose address is
contained in the FSR register (FSR is a pointer). This is
indirect addressing.
EXAMPLE 4-3:
• Register file 05 contains the value 10h
• Register file 06 contains the value 0Ah
• Load the value 05 into the FSR register
• A read of the INDF register will return the value
• Increment the value of the FSR register by one
• A read of the INDR register now will return the
Reading INDF itself indirectly (FSR = 0) will produce
00h. Writing to the INDF register indirectly results in a
no-operation (although STATUS bits may be affected).
A simple program to clear RAM locations 10h-1Fh
using indirect addressing is shown in Example 4-4.
FIGURE 4-4:
of 10h
(FSR = 06)
value of 0Ah.
2000 Microchip Technology Inc.
Indirect Data Addressing; INDF and
FSR Registers
(Note 1)
DIRECT/INDIRECT ADDRESSING
(FSR)
6
INDIRECT ADDRESSING
5
Direct Addressing
location select
Note 1:
Data
Memory
4
2:
(opcode)
(2)
Bits 5 and 6 are unimplemented and read as 1’s.
For register map detail, see Section 4.2.
00h
0Fh
10h
0
1Fh
Preliminary
Bank 0
EXAMPLE 4-4:
NEXT
CONTINUE
The FSR is a 5-bit (PIC16HV540) wide register. It is
used in conjunction with the INDF register to indirectly
address the data memory area.
The FSR<4:0> bits are used to select data memory
addresses 00h to 1Fh.
PIC16HV540: Do not use banking. FSR<6:5> are
unimplemented and read as '1's.
(Note 1)
6
Indirect Addressing
5
movlw
movwf
clrf
incf
btfsc
goto
:
4
HOW TO CLEAR RAM
USING INDIRECT
ADDRESSING
location select
(FSR)
PIC16HV540
0x10
FSR
INDF
FSR,F
FSR,4
NEXT
;YES, continue
0
;initialize pointer
; to RAM
;clear INDF register
;inc pointer
;all done?
;NO, clear next
DS40197B-page 17

Related parts for PIC16HV540-04/P