Atmel ATmega CPU: common files

AVR Atmega specific code. More...

Detailed Description

Files

file  errno.h
 
file  inttypes.h
 Adds include for missing inttype definitions.
 
file  atmega_regs_common.h
 CMSIS style register definitions for the atmega family.
 
file  atmega_common/include/cpu.h
 Common implementations and headers for ATmega family based micro-controllers.
 
file  atmega_common/include/periph_cpu_common.h
 CPU specific definitions for internal peripheral handling.
 

Macros

#define PRIo64   "llo"
 Format string for octal 64-bit number.
 
#define PRIx64   "llx"
 Format string for hexadecimal 64-bit number.
 
#define PRIu64   "llu"
 Format string for unsigned 64-bit number.
 
#define PRId64   "lld"
 Format string for signed 64-bit number.
 

Variables

int errno
 number of last error
 

Error numbers

#define E2BIG   (1)
 Argument list too long. More...
 
#define EACCES   (2)
 Permission denied. More...
 
#define EADDRINUSE   (3)
 Address in use. More...
 
#define EADDRNOTAVAIL   (4)
 Address not available. More...
 
#define EAFNOSUPPORT   (5)
 Address family not supported. More...
 
#define EAGAIN   (6)
 Resource unavailable, try again (may be the same value as [EWOULDBLOCK]). More...
 
#define EALREADY   (7)
 Connection already in progress. More...
 
#define EBADF   (8)
 Bad file descriptor. More...
 
#define EBADMSG   (9)
 Bad message. More...
 
#define EBUSY   (10)
 Device or resource busy. More...
 
#define ECANCELED   (11)
 Operation canceled. More...
 
#define ECHILD   (12)
 No child processes. More...
 
#define ECONNABORTED   (13)
 Connection aborted. More...
 
#define ECONNREFUSED   (14)
 Connection refused. More...
 
#define ECONNRESET   (15)
 Connection reset. More...
 
#define EDEADLK   (16)
 Resource deadlock would occur. More...
 
#define EDESTADDRREQ   (17)
 Destination address required. More...
 
#define EDOM   (18)
 Mathematics argument out of domain of function. More...
 
#define EDQUOT   (19)
 Reserved. More...
 
#define EEXIST   (20)
 File exists. More...
 
#define EFAULT   (21)
 Bad address. More...
 
#define EFBIG   (22)
 File too large. More...
 
#define EHOSTUNREACH   (23)
 Host is unreachable. More...
 
#define EIDRM   (24)
 Identifier removed. More...
 
#define EILSEQ   (25)
 Illegal byte sequence. More...
 
#define EINPROGRESS   (26)
 Operation in progress. More...
 
#define EINTR   (27)
 Interrupted function. More...
 
#define EINVAL   (28)
 Invalid argument. More...
 
#define EIO   (29)
 I/O error. More...
 
#define EISCONN   (30)
 Socket is connected. More...
 
#define EISDIR   (31)
 Is a directory. More...
 
#define ELOOP   (32)
 Too many levels of symbolic links. More...
 
#define EMFILE   (33)
 File descriptor value too large. More...
 
#define EMLINK   (34)
 Too many links. More...
 
#define EMSGSIZE   (35)
 Message too large. More...
 
#define EMULTIHOP   (36)
 Reserved. More...
 
#define ENAMETOOLONG   (37)
 Filename too long. More...
 
#define ENETDOWN   (38)
 Network is down. More...
 
#define ENETRESET   (39)
 Connection aborted by network. More...
 
#define ENETUNREACH   (40)
 Network unreachable. More...
 
#define ENFILE   (41)
 Too many files open in system. More...
 
#define ENOBUFS   (42)
 No buffer space available. More...
 
#define ENODATA   (43)
 [OB XSR] [Option Start] No message is available on the STREAM head read queue. More...
 
#define ENODEV   (44)
 No such device. More...
 
#define ENOENT   (45)
 No such file or directory. More...
 
#define ENOEXEC   (46)
 Executable file format error. More...
 
#define ENOLCK   (47)
 No locks available. More...
 
#define ENOLINK   (48)
 Reserved. More...
 
#define ENOMEM   (49)
 Not enough space. More...
 
#define ENOMSG   (50)
 No message of the desired type. More...
 
#define ENOPROTOOPT   (51)
 Protocol not available. More...
 
#define ENOSPC   (52)
 No space left on device. More...
 
#define ENOSR   (53)
 [OB XSR] [Option Start] No STREAM resources. More...
 
#define ENOSTR   (54)
 [OB XSR] [Option Start] Not a STREAM. More...
 
#define ENOSYS   (55)
 Function not supported. More...
 
#define ENOTCONN   (56)
 The socket is not connected. More...
 
#define ENOTDIR   (57)
 Not a directory or a symbolic link to a directory. More...
 
#define ENOTEMPTY   (58)
 Directory not empty. More...
 
#define ENOTRECOVERABLE   (59)
 State not recoverable. More...
 
#define ENOTSOCK   (60)
 Not a socket. More...
 
#define ENOTSUP   (61)
 Not supported (may be the same value as [EOPNOTSUPP]). More...
 
#define ENOTTY   (62)
 Inappropriate I/O control operation. More...
 
#define ENXIO   (63)
 No such device or address. More...
 
#define EOPNOTSUPP   (64)
 Operation not supported on socket (may be the same value as [ENOTSUP]). More...
 
#define EOVERFLOW   (65)
 Value too large to be stored in data type. More...
 
#define EOWNERDEAD   (66)
 Previous owner died. More...
 
#define EPERM   (67)
 Operation not permitted. More...
 
#define EPIPE   (68)
 Broken pipe. More...
 
#define EPROTO   (69)
 Protocol error. More...
 
#define EPROTONOSUPPORT   (70)
 Protocol not supported. More...
 
#define EPROTOTYPE   (71)
 Protocol wrong type for socket. More...
 
#define ERANGE   (72)
 Result too large. More...
 
#define EROFS   (73)
 Read-only file system. More...
 
#define ESPIPE   (74)
 Invalid seek. More...
 
#define ESRCH   (75)
 No such process. More...
 
#define ESTALE   (76)
 Reserved. More...
 
#define ETIME   (77)
 [OB XSR] [Option Start] Stream ioctl() timeout. More...
 
#define ETIMEDOUT   (78)
 Connection timed out. More...
 
#define ETXTBSY   (79)
 Text file busy. More...
 
#define EWOULDBLOCK   (80)
 Operation would block (may be the same value as [EAGAIN]). More...
 
#define EXDEV   (81)
 Cross-device link. More...
 

Macro Definition Documentation

◆ E2BIG

#define E2BIG   (1)

Definition at line 70 of file errno.h.

◆ EACCES

#define EACCES   (2)

Definition at line 71 of file errno.h.

◆ EADDRINUSE

#define EADDRINUSE   (3)

Definition at line 72 of file errno.h.

◆ EADDRNOTAVAIL

#define EADDRNOTAVAIL   (4)

Definition at line 73 of file errno.h.

◆ EAFNOSUPPORT

#define EAFNOSUPPORT   (5)

Definition at line 74 of file errno.h.

◆ EAGAIN

#define EAGAIN   (6)

Definition at line 75 of file errno.h.

◆ EALREADY

#define EALREADY   (7)

Definition at line 76 of file errno.h.

◆ EBADF

#define EBADF   (8)

Definition at line 77 of file errno.h.

◆ EBADMSG

#define EBADMSG   (9)

Definition at line 78 of file errno.h.

◆ EBUSY

#define EBUSY   (10)

Definition at line 79 of file errno.h.

◆ ECANCELED

#define ECANCELED   (11)

Definition at line 80 of file errno.h.

◆ ECHILD

#define ECHILD   (12)

Definition at line 81 of file errno.h.

◆ ECONNABORTED

#define ECONNABORTED   (13)

Definition at line 82 of file errno.h.

◆ ECONNREFUSED

#define ECONNREFUSED   (14)

Definition at line 83 of file errno.h.

◆ ECONNRESET

#define ECONNRESET   (15)

Definition at line 84 of file errno.h.

◆ EDEADLK

#define EDEADLK   (16)

Definition at line 85 of file errno.h.

◆ EDESTADDRREQ

#define EDESTADDRREQ   (17)

Definition at line 86 of file errno.h.

◆ EDOM

#define EDOM   (18)

Definition at line 87 of file errno.h.

◆ EDQUOT

#define EDQUOT   (19)

Definition at line 88 of file errno.h.

◆ EEXIST

#define EEXIST   (20)

Definition at line 89 of file errno.h.

◆ EFAULT

#define EFAULT   (21)

Definition at line 90 of file errno.h.

◆ EFBIG

#define EFBIG   (22)

Definition at line 91 of file errno.h.

◆ EHOSTUNREACH

#define EHOSTUNREACH   (23)

Definition at line 92 of file errno.h.

◆ EIDRM

#define EIDRM   (24)

Definition at line 93 of file errno.h.

◆ EILSEQ

#define EILSEQ   (25)

Definition at line 94 of file errno.h.

◆ EINPROGRESS

#define EINPROGRESS   (26)

Definition at line 95 of file errno.h.

◆ EINTR

#define EINTR   (27)

Definition at line 96 of file errno.h.

◆ EINVAL

#define EINVAL   (28)

Definition at line 97 of file errno.h.

◆ EIO

#define EIO   (29)

Definition at line 98 of file errno.h.

◆ EISCONN

#define EISCONN   (30)

Definition at line 99 of file errno.h.

◆ EISDIR

#define EISDIR   (31)

Definition at line 100 of file errno.h.

◆ ELOOP

#define ELOOP   (32)

Definition at line 101 of file errno.h.

◆ EMFILE

#define EMFILE   (33)

Definition at line 102 of file errno.h.

◆ EMLINK

#define EMLINK   (34)

Definition at line 103 of file errno.h.

◆ EMSGSIZE

#define EMSGSIZE   (35)

Definition at line 104 of file errno.h.

◆ EMULTIHOP

#define EMULTIHOP   (36)

Definition at line 105 of file errno.h.

◆ ENAMETOOLONG

#define ENAMETOOLONG   (37)

Definition at line 106 of file errno.h.

◆ ENETDOWN

#define ENETDOWN   (38)

Definition at line 107 of file errno.h.

◆ ENETRESET

#define ENETRESET   (39)

Definition at line 108 of file errno.h.

◆ ENETUNREACH

#define ENETUNREACH   (40)

Definition at line 109 of file errno.h.

◆ ENFILE

#define ENFILE   (41)

Definition at line 110 of file errno.h.

◆ ENOBUFS

#define ENOBUFS   (42)

Definition at line 111 of file errno.h.

◆ ENODATA

#define ENODATA   (43)

[Option End]

Definition at line 112 of file errno.h.

◆ ENODEV

#define ENODEV   (44)

Definition at line 113 of file errno.h.

◆ ENOENT

#define ENOENT   (45)

Definition at line 114 of file errno.h.

◆ ENOEXEC

#define ENOEXEC   (46)

Definition at line 115 of file errno.h.

◆ ENOLCK

#define ENOLCK   (47)

Definition at line 116 of file errno.h.

◆ ENOLINK

#define ENOLINK   (48)

Definition at line 117 of file errno.h.

◆ ENOMEM

#define ENOMEM   (49)

Definition at line 118 of file errno.h.

◆ ENOMSG

#define ENOMSG   (50)

Definition at line 119 of file errno.h.

◆ ENOPROTOOPT

#define ENOPROTOOPT   (51)

Definition at line 120 of file errno.h.

◆ ENOSPC

#define ENOSPC   (52)

Definition at line 121 of file errno.h.

◆ ENOSR

#define ENOSR   (53)

[Option End]

Definition at line 122 of file errno.h.

◆ ENOSTR

#define ENOSTR   (54)

[Option End]

Definition at line 123 of file errno.h.

◆ ENOSYS

#define ENOSYS   (55)

Definition at line 124 of file errno.h.

◆ ENOTCONN

#define ENOTCONN   (56)

Definition at line 125 of file errno.h.

◆ ENOTDIR

#define ENOTDIR   (57)

Definition at line 126 of file errno.h.

◆ ENOTEMPTY

#define ENOTEMPTY   (58)

Definition at line 127 of file errno.h.

◆ ENOTRECOVERABLE

#define ENOTRECOVERABLE   (59)

Definition at line 128 of file errno.h.

◆ ENOTSOCK

#define ENOTSOCK   (60)

Definition at line 129 of file errno.h.

◆ ENOTSUP

#define ENOTSUP   (61)

Definition at line 130 of file errno.h.

◆ ENOTTY

#define ENOTTY   (62)

Definition at line 131 of file errno.h.

◆ ENXIO

#define ENXIO   (63)

Definition at line 132 of file errno.h.

◆ EOPNOTSUPP

#define EOPNOTSUPP   (64)

Definition at line 133 of file errno.h.

◆ EOVERFLOW

#define EOVERFLOW   (65)

Definition at line 134 of file errno.h.

◆ EOWNERDEAD

#define EOWNERDEAD   (66)

Definition at line 135 of file errno.h.

◆ EPERM

#define EPERM   (67)

Definition at line 136 of file errno.h.

◆ EPIPE

#define EPIPE   (68)

Definition at line 137 of file errno.h.

◆ EPROTO

#define EPROTO   (69)

Definition at line 138 of file errno.h.

◆ EPROTONOSUPPORT

#define EPROTONOSUPPORT   (70)

Definition at line 139 of file errno.h.

◆ EPROTOTYPE

#define EPROTOTYPE   (71)

Definition at line 140 of file errno.h.

◆ ERANGE

#define ERANGE   (72)

Definition at line 141 of file errno.h.

◆ EROFS

#define EROFS   (73)

Definition at line 142 of file errno.h.

◆ ESPIPE

#define ESPIPE   (74)

Definition at line 143 of file errno.h.

◆ ESRCH

#define ESRCH   (75)

Definition at line 144 of file errno.h.

◆ ESTALE

#define ESTALE   (76)

Definition at line 145 of file errno.h.

◆ ETIME

#define ETIME   (77)

[Option End]

Definition at line 146 of file errno.h.

◆ ETIMEDOUT

#define ETIMEDOUT   (78)

Definition at line 147 of file errno.h.

◆ ETXTBSY

#define ETXTBSY   (79)

Definition at line 148 of file errno.h.

◆ EWOULDBLOCK

#define EWOULDBLOCK   (80)

Definition at line 149 of file errno.h.

◆ EXDEV

#define EXDEV   (81)

Definition at line 150 of file errno.h.