Lines Matching +full:0 +full:x7c

94         EXPECT_CALL(journal, logError(A<const std::string&>())).Times(0);  in TEST()
96 // Create I2CWriteByteAction with register 0x7C and value 0x0A in TEST()
98 std::make_unique<I2CWriteByteAction>(0x7C, 0x0A); in TEST()
100 // Create mock I2CInterface. Expect action to write 0x0A to 0x7C. in TEST()
105 write(TypedEq<uint8_t>(0x7C), TypedEq<uint8_t>(0x0A))) in TEST()
149 EXPECT_CALL(journal, logError(A<const std::string&>())).Times(0); in TEST()
154 // Linear format volts value = (1.3 / 2^(-8)) = 332.8 = 333 = 0x014D. in TEST()
160 // Create mock I2CInterface. Expect action to write 0x014D to in TEST()
161 // VOUT_COMMAND (command/register 0x21). in TEST()
166 write(TypedEq<uint8_t>(0x21), TypedEq<uint16_t>(0x014D))) in TEST()
210 "I2CException: Failed to write byte: bus /dev/i2c-1, addr 0x70", in TEST()
211 "ActionError: i2c_write_byte: { register: 0x7C, value: 0xA, mask: " in TEST()
212 "0xFF }"}; in TEST()
218 "/dev/i2c-1", 0x70, 0)) in TEST()
221 // Create I2CWriteByteAction with register 0x7C and value 0x0A in TEST()
223 std::make_unique<I2CWriteByteAction>(0x7C, 0x0A); in TEST()
230 write(TypedEq<uint8_t>(0x7C), TypedEq<uint8_t>(0x0A))) in TEST()
233 i2c::I2CException{"Failed to write byte", "/dev/i2c-1", 0x70})); in TEST()
279 EXPECT_CALL(journal, logError(A<const std::string&>())).Times(0); in TEST()
281 // Create I2CWriteByteAction with register 0x7C and value 0x0A in TEST()
283 std::make_unique<I2CWriteByteAction>(0x7C, 0x0A); in TEST()
285 // Create mock I2CInterface. Expect action to write 0x0A to 0x7C. in TEST()
290 write(TypedEq<uint8_t>(0x7C), TypedEq<uint8_t>(0x0A))) in TEST()
345 EXPECT_CALL(journal, logError(A<const std::string&>())).Times(0); in TEST()
350 // Linear format volts value = (1.3 / 2^(-8)) = 332.8 = 333 = 0x014D. in TEST()
356 // Create mock I2CInterface. Expect action to write 0x014D to in TEST()
357 // VOUT_COMMAND (command/register 0x21). in TEST()
362 write(TypedEq<uint8_t>(0x21), TypedEq<uint16_t>(0x014D))) in TEST()
417 "I2CException: Failed to write byte: bus /dev/i2c-1, addr 0x70", in TEST()
418 "ActionError: i2c_write_byte: { register: 0x7C, value: 0xA, mask: " in TEST()
419 "0xFF }"}; in TEST()
425 "/dev/i2c-1", 0x70, 0)) in TEST()
428 // Create I2CWriteByteAction with register 0x7C and value 0x0A in TEST()
430 std::make_unique<I2CWriteByteAction>(0x7C, 0x0A); in TEST()
437 write(TypedEq<uint8_t>(0x7C), TypedEq<uint8_t>(0x0A))) in TEST()
440 i2c::I2CException{"Failed to write byte", "/dev/i2c-1", 0x70})); in TEST()
502 EXPECT_EQ(configuration.getActions()[0].get(), action1); in TEST()