Skip to content
Snippets Groups Projects
Commit 63599e25 authored by Hauke Petersen's avatar Hauke Petersen
Browse files

cpu/msp430_common: fixed doxygen for msp430_types.h

parent f8eaff4b
No related branches found
No related tags found
No related merge requests found
......@@ -35,20 +35,38 @@ extern "C" {
#define EOVERFLOW (65)
#endif
/**
* @brief Definition of `time_t` for the MSP430
*
* @todo Remove once msp430 libc supports `time_t`
*/
typedef unsigned long time_t;
/**
* @brief Definition of `struct timespec` for the MSP430
*
* @todo Remove once msp430 libc supports `struct timespec`
*/
struct timespec {
time_t tv_sec; /* Seconds */
long tv_nsec; /* Nanoseconds */
time_t tv_sec; /**< seconds */
long tv_nsec; /**< nanoseconds */
};
/* TODO: remove once msp430 libc supports struct timeval */
/**
* @brief Definition of `struct timeval` for the MSP430
*
* @todo Remove once msp430 libc supports struct timeval
*/
struct timeval {
time_t tv_sec;
time_t tv_usec;
time_t tv_sec; /**< seconds */
time_t tv_usec; /**< microseconds */
};
/* TODO: remove once msp430 libc supports clockid_t */
/**
* @brief Definition of `clockid_t` for the MSP430
*
* @todo Remove once msp430 libc supports clockid_t
*/
typedef int clockid_t;
#ifdef __cplusplus
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment