8254.h File Reference

Go to the source code of this file.

Defines

Functions


Detailed Description

Rutinas relacionadas con la configuración del PTI (82c54)

Definition in file 8254.h.


Define Documentation

#define BASE_8254   0x40
 

Definition at line 11 of file 8254.h.

#define BCD   1
 

Definition at line 32 of file 8254.h.

#define COUNT_LATH_CMDS   0<<4
 

Definition at line 22 of file 8254.h.

#define COUNTER0   BASE_8254
 

Definition at line 12 of file 8254.h.

Referenced by init_8254().

#define COUNTER1   BASE_8254+1
 

Definition at line 13 of file 8254.h.

#define COUNTER2   BASE_8254+2
 

Definition at line 14 of file 8254.h.

#define COUNTER_0   0<<6
 

Definition at line 18 of file 8254.h.

Referenced by init_8254().

#define COUNTER_1   1<<6
 

Definition at line 19 of file 8254.h.

#define COUNTER_2   2<<6
 

Definition at line 20 of file 8254.h.

#define CUENTA   FOSC / FINTERRUPCION
 

Definition at line 9 of file 8254.h.

Referenced by init_8254().

#define CWR   BASE_8254+3
 

Definition at line 15 of file 8254.h.

Referenced by init_8254().

#define FINTERRUPCION   100
 

Definition at line 8 of file 8254.h.

Referenced by init_8254(), and LIST_NEW().

#define FOSC   1193182
 

Definition at line 7 of file 8254.h.

Referenced by init_8254().

#define LSB   1<<4
 

Definition at line 23 of file 8254.h.

#define LSB_MSB   3<<4
 

Definition at line 25 of file 8254.h.

Referenced by init_8254().

#define MODO0   0<<1
 

Definition at line 26 of file 8254.h.

#define MODO1   1<<1
 

Definition at line 27 of file 8254.h.

#define MODO2   2<<1
 

Definition at line 28 of file 8254.h.

Referenced by init_8254().

#define MODO3   3<<1
 

Definition at line 29 of file 8254.h.

#define MODO4   4<<1
 

Definition at line 30 of file 8254.h.

#define MODO5   5<<1
 

Definition at line 31 of file 8254.h.

#define MSB   2<<4
 

Definition at line 24 of file 8254.h.

#define READ_BACK   3<<6
 

Definition at line 21 of file 8254.h.


Function Documentation

void init_8254  ) 
 

Inicializa el timer 0 del 8254. Este genera ticks los cuales son usados tanto para mantener un patrón de tiempo como para darle control al Scheduler.

Definition at line 15 of file 8254.c.

Referenced by kmain().


Generated on Sun May 30 18:38:35 2004 for Routix OS by doxygen 1.3.6