OpenOCD
protocol.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
3 /***************************************************************************
4  * Copyright (C) 2011 by Martin Schmoelzer *
5  * <martin.schmoelzer@student.tuwien.ac.at> *
6  ***************************************************************************/
7 
8 #ifndef __PROTOCOL_H
9 #define __PROTOCOL_H
10 
11 #include "common.h"
12 #include <stdbool.h>
13 
14 void execute_set_led_command(void);
15 
16 bool execute_command(void);
17 void command_loop(void);
18 
19 #endif
bool execute_command(void)
Executes one command and updates global command indexes.
Definition: protocol.c:70
void command_loop(void)
Forever wait for commands and execute them as they arrive.
Definition: protocol.c:193
void execute_set_led_command(void)
Execute a SET_LEDS command.
Definition: protocol.c:46