os/sysroot/usr/include/cpu/ports.h

14 lines
321 B
C
Raw Normal View History

2019-02-09 12:52:45 -06:00
#ifndef PORTS_H
#define PORTS_H
2019-03-11 09:32:55 -05:00
#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);
2019-05-24 09:51:45 -05:00
2019-02-09 12:52:45 -06:00
#endif