/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2020 Jonathan Neuschäfer * * Register access and version information for the Netronix embedded * controller.
*/
/* * Some registers, such as the battery status register (0x41), are in * big-endian, but others only have eight significant bits, which are in the * first byte transmitted over I2C (the MSB of the big-endian value). * This convenience function converts an 8-bit value to 16-bit for use in the * second kind of register.
*/ staticinline u16 ntxec_reg8(u8 value)
{ return value << 8;
}
/* Known firmware versions */ #define NTXEC_VERSION_KOBO_AURA 0xd726 /* found in Kobo Aura */ #define NTXEC_VERSION_TOLINO_SHINE2 0xf110 /* found in Tolino Shine 2 HD */ #define NTXEC_VERSION_TOLINO_VISION 0xe135 /* found in Tolino Vision, contains RTC, ADC, PWM, home pad */ #endif
Messung V0.5
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.