53 namespace hardware {};
77 #define BMPTK_HERE_STR( X ) #X
78 #define BMPTK_HERE2( F, L ) ( "\n" F ":" BMPTK_HERE_STR( L ) " " )
79 #define BMPTK_HERE BMPTK_HERE2( __FILE__, __LINE__ )
83 #define BMPTK_VERSION_STR( X ) BMPTK_HERE_STR( X )
86 const char version[] = BMPTK_VERSION_STR( BMPTK_VERSION );
112 #define trace ( std::cout << BMPTK_HERE << " " )
121 type_none, type_pin_ad,
122 type_pin_in, type_pin_out, type_pin_in_out, type_pin_oc,
123 type_port_in, type_port_out, type_port_in_out, type_port_oc,
125 type_spi_bus, type_spi_channel
145 GHz = 1000 * 1000 * 1000