root / lab4 / utils.h @ 75
History | View | Annotate | Download (270 Bytes)
1 | 68 | up20180642 | #ifndef UTILS_H_INCLUDED
|
---|---|---|---|
2 | #define UTILS_H_INCLUDED
|
||
3 | |||
4 | int(util_get_LSB)(uint16_t val, uint8_t *lsb);
|
||
5 | |||
6 | int(util_get_MSB)(uint16_t val, uint8_t *msb);
|
||
7 | |||
8 | #ifdef LAB3
|
||
9 | uint32_t sys_inb_counter; |
||
10 | #endif
|
||
11 | |||
12 | int (util_sys_inb)(int port, uint8_t *value); |
||
13 | |||
14 | #endif //UTILS_H_INCLUDED |