Go to the documentation of this file. 1 #ifndef __nosy_dump_h__
2 #define __nosy_dump_h__
4 #define array_length(array) (sizeof(array) / sizeof(array[0]))
7 #define ACK_DONE(a) ((a >> 2) == 0)
8 #define ACK_BUSY(a) ((a >> 2) == 1)
9 #define ACK_ERROR(a) ((a >> 2) == 3)
70 #define TCODE_PHY_PACKET 0x10
72 #define PHY_PACKET_CONFIGURATION 0x00
73 #define PHY_PACKET_LINK_ON 0x01
74 #define PHY_PACKET_SELF_ID 0x02