msp430_types.h File Reference

basic types for MSP430 More...

Detailed Description

basic types for MSP430

Definition in file msp430_types.h.

#include <sys/_types.h>
#include <errno.h>
#include "kernel_types.h"
+ Include dependency graph for msp430_types.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  timespec
 Definition of struct timespec for the MSP430. More...
 
struct  timeval
 Definition of struct timeval for the MSP430. More...
 
#define EINVAL   (28)
 defining signed type for size_t More...
 
#define EOVERFLOW   (65)
 defines EOVERFLOW if MSP430 toolchain is too old to provide it itself via errno.h
 
typedef unsigned long time_t
 Definition of time_t for the MSP430. More...
 
typedef int32_t blkcnt_t
 Used for file block counts.
 
typedef int32_t blksize_t
 Used for block sizes.
 
typedef uint32_t clock_t
 Used for system times in clock ticks.
 
typedef uint32_t clockid_t
 Used for clock ID type in the clock and timer functions.
 
typedef int16_t dev_t
 Used for device IDs.
 
typedef uint32_t fsblkcnt_t
 Used for file system block counts.
 
typedef uint32_t fsfilcnt_t
 Used for file system file counts.
 
typedef uint16_t gid_t
 Used for group IDs.
 
typedef uint16_t id_t
 Used as a general identifier.
 
typedef uint32_t ino_t
 Used for file serial numbers.
 
typedef uint32_t key_t
 Used for XSI interprocess communication.
 
typedef uint32_t mode_t
 Used for some file attributes.
 
typedef uint16_t nlink_t
 Used for link counts.
 
typedef int32_t off_t
 Used for file sizes and offsets.
 
typedef int pid_t
 Used for process IDs and process group IDs.
 
typedef unsigned int size_t
 Used for sizes of objects.
 
typedef signed int ssize_t
 Used for a count of bytes or an error indication.
 
typedef int32_t suseconds_t
 Used for time in microseconds.
 
typedef uint32_t timer_t
 Used for timer ID returned by timer_create()
 
typedef uint16_t uid_t
 Used for user IDs.
 
typedef uint32_t useconds_t
 Used for time in microseconds.
 

Macro Definition Documentation

◆ EINVAL

#define EINVAL   (28)

defining signed type for size_t

defines EINVAL if MSP430 toolchain is too old to provide it itself via errno.h

Definition at line 35 of file msp430_types.h.

Typedef Documentation

◆ time_t

typedef unsigned long time_t

Definition of time_t for the MSP430.

Todo:
Remove once msp430 libc supports time_t

Definition at line 51 of file msp430_types.h.