3 #include "Hardware/TWI.h" 15 BENCHMARK_BASELINE(1);
23 uint8_t rom[
owi.ROM_MAX];
27 MEASURE(
owi.crc_update(0,0));
33 MEASURE(
owi.write(0,1));
34 MEASURE(
owi.write(1,1));
35 MEASURE(
owi.write(0x00));
36 MEASURE(
owi.write(0xff));
43 MEASURE(
owi.triplet(dir));
46 MEASURE(
owi.read_rom(rom));
47 MEASURE(
owi.skip_rom());
48 MEASURE(
owi.match_rom(rom));
49 MEASURE(
owi.search_rom(0, rom));
50 MEASURE(
owi.alarm_search(rom));
Software::Serial< BOARD::D0 > Serial
Software::OWI< BOARD::D7 > owi