Sylvain Munaut | bc9f5c4 | 2020-09-14 10:22:29 +0200 | [diff] [blame] | 1 | /* |
2 | * e1.h | ||||
3 | * | ||||
4 | * Copyright (C) 2019-2020 Sylvain Munaut <tnt@246tNt.com> | ||||
5 | * SPDX-License-Identifier: GPL-3.0-or-later | ||||
6 | */ | ||||
7 | |||||
8 | #pragma once | ||||
9 | |||||
10 | void e1_init(bool clk_mode); | ||||
11 | void e1_poll(void); | ||||
12 | void e1_debug_print(bool data); | ||||
13 | |||||
14 | volatile uint8_t *e1_data_ptr(int mf, int frame, int ts); | ||||
15 | unsigned int e1_data_ofs(int mf, int frame, int ts); |