Defines | |
| #define | dev_open_DEV_MICA2_SOUNDER() mos_mutex_lock(&sounder_mutex) |
| gain an exclusive lock on the Sounder. Any other threads calling dev_open_DEV_MICA2_SOUNDER() will block until the owner calls dev_close_DEV_MICA2_SOUNDER(). | |
| #define | dev_close_DEV_MICA2_SOUNDER() mos_mutex_unlock(&sounder_mutex) |
| release exclusive lock on the Sounder. Any other thread blocking on dev_open_DEV_MICA2_SOUNDER() will now unblock. | |
Functions | |
| uint16_t | dev_read_DEV_MICA2_SOUNDER (void *buf, uint16_t count) |
| not supported for the MICA2 Sounder. | |
| uint16_t | dev_write_DEV_MICA2_SOUNDER (const void *buf, uint16_t count) |
| Cause the sounder to be turned on or off. If the value of buf[0] is 0x00, the sounder is turned off. Any other value will turn it on. | |
| uint8_t | dev_mode_DEV_MICA2_SOUNDER (uint8_t md) |
| not supported for the MICA2 Sounder. | |
| uint8_t | dev_ioctl_DEV_MICA2_SOUNDER (int8_t request,...) |
| not supported for the MICA2 Sounder. | |
Variables | |
| mos_mutex_t | sounder_mutex |
|
||||||||||||
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
For internal use only. Used by the dev_open and dev_close functions. |
1.4.6