CTAOS v3
This commit is contained in:
17
SysCore/hal/pit/pit.h
Normal file
17
SysCore/hal/pit/pit.h
Normal file
@ -0,0 +1,17 @@
|
||||
#ifndef __PIT_H
|
||||
#define __PIT_H
|
||||
|
||||
#include<regs.h>
|
||||
extern volatile unsigned int _pit_ticks;
|
||||
extern volatile unsigned int _pit_frequency;
|
||||
extern volatile TIME _internal_clock;
|
||||
|
||||
extern void i86_pit_handler(ISR_stack_regs *r);
|
||||
extern void i86_pit_set_frequency(int frequency);
|
||||
extern unsigned int i86_pit_set_tick_count(unsigned int i);
|
||||
extern unsigned int i86_pit_get_tick_count();
|
||||
extern unsigned int i86_pit_get_frequency();
|
||||
extern void i86_pit_install(int freq);
|
||||
extern unsigned char i86_pit_is_initialized();
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user