aboutsummaryrefslogtreecommitdiffhomepage
path: root/pyecsca/codegen/hal/host/host_hal.h
blob: 17b7ff74afe518358efb81de5bd1683a5441005a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef HOST_HAL_H_
#define HOST_HAL_H_

#include <stdbool.h>
#include "uart.h"

#define trigger_setup()
#define trigger_high()
#define trigger_status() false
#define trigger_flip()
#define trigger_low()

#define init_uart init_uart0
#define putch output_ch_0
#define getch input_ch_0
#define flush flush_ch_0

#define led_error(X)
#define led_ok(X)

#endif //HOST_HAL_H_