Defines | |
| #define | dev_open_DEV_AVR_EEPROM() mos_mutex_lock(&eeprom_mutex) |
| gain an exclusive lock on the AVR EEPROM Driver. Any other threads calling dev_open_DEV_AVR_EEPROM() will block until the owner calls dev_close_DEV_AVR_EEPROM(). | |
| #define | dev_close_DEV_AVR_EEPROM() mos_mutex_unlock(&eeprom_mutex) |
| release exclusive lock on the AVR EEPROM Driver. Any other thread blocking on dev_open_DEV_AVR_EEPROM() will now unblock. | |
Functions | |
| uint16_t | dev_read_DEV_AVR_EEPROM (void *buf, uint16_t count) |
| read count bytes from the current eeprom address into buf. | |
| uint16_t | dev_write_DEV_AVR_EEPROM (const void *buf, uint16_t count) |
| write from buf to the current eeprom address. | |
| uint8_t | dev_mode_DEV_AVR_EEPROM (uint8_t md) |
| not supported for the AVR EEPROM. | |
| uint8_t | dev_ioctl_DEV_AVR_EEPROM (int8_t request,...) |
send an IO Control to the EEPROM Driver. Accepted parameters are:
| |
Variables | |
| mos_mutex_t | eeprom_mutex |
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
For internal use only. Used by dev_open and dev_close. |
1.4.6