Lines Matching +full:eeprom +full:- +full:data
1 // SPDX-License-Identifier: GPL-2.0
8 * Read this ForeRunner's MAC address from eprom/eeprom
21 * the Data Sheet for the Xicor X25020 EEProm. The #defines below
23 * that must be toggled for the corresponding actions on the EEProm
27 /* Write Data To EEProm from SI line on rising edge of CLK */
28 /* Read Data From EEProm on falling edge of CLK */
34 #define SI_HIGH 0x0001 /* Serial input data high */
35 #define SI_LOW 0x0000 /* Serial input data low */
60 /* Read from EEPROM = 0000 0011b */
83 /* Clock to read from/write to the eeprom */
113 * eeprom, then pull the result from bit 16 of the NicSTaR's General Purpose
132 /* Done sending instruction - now pull data off of bit 16, MSB first */
133 /* Data clocked out of eeprom on falling edge of clock */
136 for (i = 7, j = 0; i >= 0; i--) {
153 * eeprom, followed by the address to read from, through the NicSTaR's General
173 for (i = 7; i >= 0; i--) { in read_eprom_byte()
184 /* Now, we can read data from the eeprom by clocking it in */ in read_eprom_byte()
185 for (i = 7; i >= 0; i--) { in read_eprom_byte()