Intel 8254x: Difference between revisions

m
Bot: Replace deprecated source tag with syntaxhighlight
[unchecked revision][unchecked revision]
m (Bot: Replace deprecated source tag with syntaxhighlight)
m (Bot: Replace deprecated source tag with syntaxhighlight)
 
Line 65:
After that the EERD.START bit must be cleared.
 
<sourcesyntaxhighlight lang="c">
static uint16_t i8254x_read_eeprom(uint8_t addr) {
uint32_t tmp;
Line 102:
return data;
}
</syntaxhighlight>
</source>
 
When all data is finally read the kernel should unlock the EEPROM to let hardware access it.