13 lines
320 B
C
13 lines
320 B
C
#ifndef PORTS_H
|
|
#define PORTS_H
|
|
|
|
#include <stdint.h>
|
|
|
|
uint8_t port_byte_in(uint16_t port);
|
|
void port_byte_out(uint16_t port,uint8_t data);
|
|
uint16_t port_word_in(uint16_t port);
|
|
void port_word_out(uint16_t port,uint16_t data);
|
|
uint32_t port_long_in(uint16_t port);
|
|
void port_long_out(uint16_t port,uint32_t data);
|
|
#endif
|