nes-proj/project/Giomba/event.h
giomba 35f5041b7f [cart + cash] partial product arrays
when you cash out, instead of sending many packets, you can aggregate multiple products in the same packet, doing an array; thus you have better power efficiency, and less delay; so both Anastasi and Marcelloni would be very proud of us
2019-05-07 21:39:28 +02:00

14 lines
242 B
C

#ifndef EVENT_H
#define EVENT_H
enum CartEvent {
CART_EVENT_ASSOCIATED,
CART_EVENT_ASSIGNED,
CART_EVENT_CASH_OUT,
CART_EVENT_NEW_PRODUCT,
CART_EVENT_CASH_OUT_ACK,
CART_EVENT_CASH_OUT_PARTIAL_LIST_ACK
} event;
#endif