Timer Utility Functions for Linux. More...
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <stdint.h>#include <unistd.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <errno.h>#include "atca_hal.h"Functions | |
| void | hal_delay_us (uint32_t delay) |
| This function delays for a number of microseconds. | |
| void | hal_delay_ms (uint32_t delay) |
| Timer API implemented at the HAL level. | |
| ATCA_STATUS | hal_create_mutex (void **ppMutex, const char *pName) |
| Optional hal interfaces. | |
| ATCA_STATUS | hal_destroy_mutex (void *pMutex) |
| ATCA_STATUS | hal_lock_mutex (void *pMutex) |
| ATCA_STATUS | hal_unlock_mutex (void *pMutex) |
| ATCA_STATUS | hal_check_pid (hal_pid_t pid) |
| Check if the pid exists in the system. | |
Timer Utility Functions for Linux.