SW500007 Microchip Technology, SW500007 Datasheet - Page 264

PICC-18 PRO

SW500007

Manufacturer Part Number
SW500007
Description
PICC-18 PRO
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC18r
Datasheets

Specifications of SW500007

Supported Families
PIC18
Core Architecture
PIC
Software Edition
Professional
Kit Contents
Software And Docs
Mcu Supported Families
PIC18
Tool Function
Compiler
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
PIC18 Series
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
015P
778-1002
778-1002
READTIMERx
Synopsis
Description
The macros READTIMER0(), READTIMER1() and READTIMER2() will return the 16-Bit
value presently held in the device’s corresponding TMRxL and TMRxH register pair. Use of this
macro ensures that the registers are read in the correct order.
Example
See Also
WRITETIMERx()
Return Value
An unsigned integer which is the value held in a 16-Bit timer.
250
#include <htc.h>
READTIMER0();
READTIMER1();
READTIMER2();
#include <htc.h>
void
main (void)
{
}
unsigned int timer1value;
timer1value = READTIMER1();
Library Functions

Related parts for SW500007