11 lines
369 B
C
11 lines
369 B
C
#ifndef PORTS_H
|
|
#define PORTS_H
|
|
|
|
unsigned char port_byte_in(unsigned short port);
|
|
void port_byte_out(unsigned short port,unsigned char data);
|
|
unsigned short port_word_in(unsigned short port);
|
|
void port_word_out(unsigned short port,unsigned short data);
|
|
unsigned long port_long_in(unsigned short port);
|
|
void port_long_out(unsigned short port,unsigned long data);
|
|
#endif
|