cpu/msp430_common: fixed doxygen for msp430_types.h
This commit is contained in:
parent
f8eaff4bbe
commit
63599e25b4
@ -35,20 +35,38 @@ extern "C" {
|
|||||||
#define EOVERFLOW (65)
|
#define EOVERFLOW (65)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Definition of `time_t` for the MSP430
|
||||||
|
*
|
||||||
|
* @todo Remove once msp430 libc supports `time_t`
|
||||||
|
*/
|
||||||
typedef unsigned long 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 {
|
struct timespec {
|
||||||
time_t tv_sec; /* Seconds */
|
time_t tv_sec; /**< seconds */
|
||||||
long tv_nsec; /* Nanoseconds */
|
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 {
|
struct timeval {
|
||||||
time_t tv_sec;
|
time_t tv_sec; /**< seconds */
|
||||||
time_t tv_usec;
|
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;
|
typedef int clockid_t;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user