root / lab3 / utils.h @ 30
History | View | Annotate | Download (284 Bytes)
1 | 30 | up20180655 | #ifndef _UTILS_H_
|
---|---|---|---|
2 | #define _UTILS_H_
|
||
3 | |||
4 | /**
|
||
5 | * @brief Reads byte from port
|
||
6 | * @param port Adress Port to read from
|
||
7 | * @param value Address to be stored the value read
|
||
8 | * @return Whether operation was sucessful or not
|
||
9 | */
|
||
10 | int (util_sys_inb)(int port, uint8_t *value); |
||
11 | |||
12 | #endif |