SW006010 Microchip Technology, SW006010 Datasheet - Page 61

no-image

SW006010

Manufacturer Part Number
SW006010
Description
MPLAB 17C SOFTWARE
Manufacturer
Microchip Technology
Datasheets

Specifications of SW006010

Tool Function
Compiler
Tool Type
Compiler
Processor Series
PIC17C
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
MPLAB®
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
 2002 Microchip Technology Inc.
WriteTimer0
WriteTimer1
WriteTimer2
WriteTimer3
WriteTimer1_16
Device:
Function:
Include:
Prototype:
Arguments:
Remarks:
Return Value:
File Name:
Code Example:
PIC17C4X, PIC17C756
Reads the contents of the specified timer register(s).
timers16.h
void WriteTimer0 (static unsigned int timer);
void WriteTimer1 (static unsigned char timer);
void WriteTimer2 (static unsigned char timer);
void WriteTimer3 (static unsigned int timer);
void WriteTimer1_16 (static unsigned int timer);
timer
This function writes the value timer to the respective timer
register(s).
Timer0:
Timer1:
Timer2:
Timer3:
Timer1_16:
These functions write a value to the timer register(s) which
may be 8-bits or 16-bits.
Timer0:
Timer1:
Timer2:
Timer3:
Timer1_16:
None
t0write.c
t1write.c
t2write.c
t3write.c
t12write.c
WriteTimer0(0);
Hardware Peripheral Library
TMR0L,TMR0H
TMR1
TMR2
TMR3L,TMR3H
TMR2:TMR1
int (16-bits)
char (8-bits)
char (8-bits)
int (16-bits)
int (16-bits)
apRNOVS^-page 57

Related parts for SW006010