Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Main Page
Related Pages
Supported Boards
Modules
Namespaces
Namespace List
Namespace Members
All
Functions
Variables
Enumerations
Data Structures
Data Structures
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
w
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerator
Related Symbols
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
_
a
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
►
RIOT OS
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
states_internal.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2023 Gerson Fernando Budke
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
20
#ifndef STATES_INTERNAL_H
21
#define STATES_INTERNAL_H
22
23
#include <avr/io.h>
24
25
#ifdef __cplusplus
26
extern
"C"
{
27
#endif
28
33
#ifdef GPIOR0
34
#define AVR8_STATE_UART_USE_SRAM 0
35
#else
36
#define AVR8_STATE_UART_USE_SRAM 1
37
#endif
67
#if (AVR8_STATE_UART_USE_SRAM)
68
extern
uint8_t avr8_state_uart_sram;
69
#define avr8_state_uart avr8_state_uart_sram
70
#else
71
#define avr8_state_uart GPIOR0
72
#endif
79
#ifdef GPIOR1
80
#define AVR8_STATE_IRQ_USE_SRAM 0
81
#else
82
#define AVR8_STATE_IRQ_USE_SRAM 1
83
#endif
100
#if (AVR8_STATE_IRQ_USE_SRAM)
101
extern
uint8_t avr8_state_irq_count_sram;
102
#define avr8_state_irq_count avr8_state_irq_count_sram
103
#else
104
#define avr8_state_irq_count GPIOR1
105
#endif
108
#ifdef __cplusplus
109
}
110
#endif
111
112
#endif
/* STATES_INTERNAL_H */
Generated on Wed Apr 2 2025 12:57:33 by
1.12.0