PIC16CR58A Microchip Technology, PIC16CR58A Datasheet - Page 326

no-image

PIC16CR58A

Manufacturer Part Number
PIC16CR58A
Description
ROM-Based 8-Bit CMOS Microcontroller Series
Manufacturer
Microchip Technology
Datasheets

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16CR58A-04/P042
Manufacturer:
MOTOROLA
Quantity:
80
PIC16C6X
LIST OF EQUATION AND EXAMPLES
Example 3-1: Instruction Pipeline Flow............................. 18
Example 4-1: Call of a Subroutine in Page 1
Example 4-2: Indirect Addressing ..................................... 49
Example 5-1: Initializing PORTA....................................... 51
Example 5-2: Initializing PORTB....................................... 53
Example 5-3: Initializing PORTC ...................................... 55
Example 5-4: Read-Modify-Write Instructions on an
Example 7-1: Changing Prescaler (Timer0 WDT) .......... 69
Example 7-2: Changing Prescaler (WDT Timer0) .......... 69
Example 8-1: Reading a 16-bit
Example 10-1: Changing Between
Example 10-2: PWM Period and Duty
Example 11-1: Loading the SSPBUF
Example 11-2: Loading the SSPBUF
Example 12-1: Calculating Baud Rate Error ..................... 107
Example 13-1: Saving Status and W
Example 13-2: Saving Status, W, and
LIST OF FIGURES
Figure 3-1:
Figure 3-2:
Figure 3-3:
Figure 3-4:
Figure 3-5:
Figure 4-1:
Figure 4-2:
Figure 4-3:
Figure 4-4:
Figure 4-5:
Figure 4-6:
Figure 4-7:
Figure 4-8:
Figure 4-9:
Figure 4-10:
Figure 4-11:
Figure 4-12:
Figure 4-13:
Figure 4-14:
DS30234D-page 326
from Page 0 ................................................ 49
I/O Port ....................................................... 60
Free-running Timer ..................................... 73
Capture Prescalers ..................................... 79
Cycle Calculation ........................................ 81
(SSPSR) Register....................................... 86
(SSPSR) Register (PIC16C66/67).............. 91
Registers in RAM...................................... 139
PCLATH Registers in RAM
(All other PIC16C6X devices) ................... 139
PIC16C61 Block Diagram........................... 10
PIC16C62/62A/R62/64/64A/R64
Block Diagram ............................................ 11
PIC16C63/R63/65/65A/R65
Block Diagram ............................................ 12
PIC16C66/67 Block Diagram...................... 13
Clock/Instruction Cycle ............................... 18
PIC16C61 Program Memory Map
and Stack.................................................... 19
PIC16C62/62A/R62/64/64A/
R64 Program Memory Map and Stack ....... 19
PIC16C63/R63/65/65A/R65 Program
Memory Map and Stack.............................. 19
PIC16C66/67 Program Memory
Map and Stack............................................ 20
PIC16C61 Register File Map ...................... 20
PIC16C62/62A/R62/64/64A/
R64 Register File Map ................................ 21
PIC16C63/R63/65/65A/R65
Register File Map........................................ 21
PIC16C66/67 Data Memory Map................ 22
STATUS Register
(Address 03h, 83h, 103h, 183h) ................. 35
OPTION Register
(Address 81h, 181h) ................................... 36
INTCON Register
(Address 0Bh, 8Bh, 10Bh 18Bh)................. 37
PIE1 Register for PIC16C62/62A/R62
(Address 8Ch)............................................. 38
PIE1 Register for PIC16C63/R63/66
(Address 8Ch)............................................. 39
PIE1 Register for PIC16C64/64A/R64
(Address 8Ch)............................................. 39
Figure 4-15:
Figure 4-16:
Figure 4-17:
Figure 4-18:
Figure 4-19:
Figure 4-20:
Figure 4-21:
Figure 4-22:
Figure 4-23:
Figure 4-24:
Figure 4-25:
Figure 5-1:
Figure 5-2:
Figure 5-3:
Figure 5-4:
Figure 5-5:
Figure 5-6:
Figure 5-7:
Figure 5-8:
Figure 5-9:
Figure 5-10:
Figure 5-11:
Figure 5-12:
Figure 5-13:
Figure 7-1:
Figure 7-2:
Figure 7-3:
Figure 7-4:
Figure 7-5:
Figure 7-6:
Figure 8-1:
Figure 8-2:
Figure 9-1:
Figure 9-2:
Figure 10-1:
Figure 10-2:
Figure 10-3:
Figure 10-4:
Figure 10-5:
Figure 11-1:
PIE1 Register for PIC16C65/65A/R65/67
(Address 8Ch) ............................................ 40
PIR1 Register for PIC16C62/62A/R62
(Address 0Ch) ............................................ 41
PIR1 Register for PIC16C63/R63/66
Address 0Ch) ............................................. 42
PIR1 Register for PIC16C64/64A/R64
(Address 0Ch) ............................................ 43
PIR1 Register for PIC16C65/65A/R65/67
(Address 0Ch) ............................................ 44
PIE2 Register (Address 8Dh) ..................... 45
PIR2 Register (Address 0Dh)..................... 46
(Address 8Eh) ............................................ 47
PCON Register for PIC16C62A/R62/63/
R63/64A/R64/65A/R65/66/67
(Address 8Eh) ............................................ 47
Loading of PC in Different Situations ......... 48
Direct/Indirect Addressing .......................... 49
Block Diagram of the
RA3:RA0 Pins and the RA5 Pin ................. 51
Block Diagram of the RA4/T0CKI Pin......... 51
Block Diagram of the
RB7:RB4 Pins for PIC16C61/62/64/65....... 53
Block Diagram of the
RB7:RB4 Pins for PIC16C62A/63/R63/
64A/65A/R65/66/67 .................................... 54
Block Diagram of the
RB3:RB0 Pins ............................................ 54
PORTC Block Diagram .............................. 55
PORTD Block Diagram
(In I/O Port Mode)....................................... 57
PORTE Block Diagram
TRISE Register (Address 89h)................... 58
Successive I/O Operation........................... 60
PORTD and PORTE as a Parallel
Slave Port................................................... 61
Parallel Slave Port Write Waveforms ......... 62
Parallel Slave Port Read Waveforms ......... 62
Timer0 Block Diagram................................ 65
Timer0 Timing: Internal Clock/No
Prescaler .................................................... 65
Timer0 Timing: Internal
Clock/Prescale 1:2 ..................................... 66
TMR0 Interrupt Timing ............................... 66
Timer0 Timing With External Clock ............ 67
Block Diagram of the Timer0/WDT
Prescaler .................................................... 68
T1CON: Timer1 Control Register
(Address 10h)............................................. 71
Timer1 Block Diagram................................ 72
Timer2 Block Diagram................................ 75
T2CON: Timer2 Control Register
(Address 12h)............................................. 75
CCP1CON Register (Address 17h) /
CCP2CON Register (Address 1Dh) ........... 78
Capture Mode Operation
Block Diagram ............................................ 78
Compare Mode Operation
Block Diagram ............................................ 79
Simplified PWM Block Diagram.................. 80
PWM Output............................................... 80
SSPSTAT: Sync Serial Port Status
Register (Address 94h) .............................. 84
PCON Register for PIC16C62/64/65
(In I/O Port Mode)...................................... 58
1997 Microchip Technology Inc.

Related parts for PIC16CR58A