Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92299934
timer.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Nov 19, 05:15
Size
392 B
Mime Type
text/x-c
Expires
Thu, Nov 21, 05:15 (2 d)
Engine
blob
Format
Raw Data
Handle
22416954
Attached To
R6619 Oncilla Motordriver Firmware
timer.h
View Options
#ifndef __TIMER_H__
#define __TIMER_H__
extern
volatile
unsigned
int
systime
;
#define TIMER_1_START (T1CONbits.TON = 1)
#define TIMER_1_STOP (T1CONbits.TON = 0)
#define TIMER_2_START (T2CONbits.TON = 1)
#define TIMER_2_STOP (T2CONbits.TON = 0)
#define TIMER_2_STOP_AND_CLEAR (T2CONbits.TON = 0); \
(TMR2 = 0x00)
void
timer_init
();
#endif
/* __TIMER_H__*/
Event Timeline
Log In to Comment