view sw/sniff-dec/state.h @ 46:43f678895a3a

simtrace3-sniff-rx: add some annotations to output
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 31 Aug 2023 10:01:40 +0000
parents b0524d1dc6ef
children
line wrap: on
line source

/*
 * This header file defines our little state machine for SIMtrace session
 * log analysis.
 */

#define	STATE_UNDEF		0
#define	STATE_ERROR		1
#define	STATE_RSTLOW		2
#define	STATE_ATR_TS		3
#define	STATE_ATR_CONT		4
#define	STATE_READY_FOR_CMD	5
#define	STATE_PPS_MSG		6
#define	STATE_CMD_HDR		7
#define	STATE_CMD_PROC		8
#define	STATE_CMD_DATA		9
#define	STATE_CMD_SW		10