Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
y
+
Functions
_
a
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
+
Variables
_
a
b
c
d
e
f
g
h
l
m
n
p
q
r
s
t
u
w
y
Typedefs
Enumerations
+
Classes
Class List
Class Hierarchy
+
Class Members
+
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
l
m
n
o
p
q
r
s
t
u
v
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
Enumerations
+
Enumerator
a
b
c
d
e
f
i
k
l
m
n
o
r
s
t
u
w
y
Related Functions
+
Files
File List
+
File Members
+
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
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
x
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerations
_
a
b
c
d
e
f
g
i
m
n
p
s
t
u
x
+
Enumerator
_
a
b
c
d
e
f
g
h
i
m
n
o
p
q
r
s
t
u
w
x
+
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
lib
inertial-sense-sdk
EVB-2
IS_EVB-2
src
ASF
common
services
gpio
sam_gpio
sam_gpio.h
Go to the documentation of this file.
1
33
/*
34
* Support and FAQ: visit <a href="https://www.microchip.com/support/">Microchip Support</a>
35
*/
36
37
#ifndef SAM_GPIO_H_INCLUDED
38
#define SAM_GPIO_H_INCLUDED
39
40
#include "
compiler.h
"
41
#include "pio.h"
42
43
#define gpio_pin_is_low(io_id) \
44
(pio_get_pin_value(io_id) ? 0 : 1)
45
46
#define gpio_pin_is_high(io_id) \
47
(pio_get_pin_value(io_id) ? 1 : 0)
48
49
#define gpio_set_pin_high(io_id) \
50
pio_set_pin_high(io_id)
51
52
#define gpio_set_pin_low(io_id) \
53
pio_set_pin_low(io_id)
54
55
#define gpio_toggle_pin(io_id) \
56
pio_toggle_pin(io_id)
57
58
#define gpio_configure_pin(io_id,io_flags) \
59
pio_configure_pin(io_id,io_flags)
60
61
#define gpio_configure_group(port_id,port_mask,io_flags) \
62
pio_configure_pin_group(port_id,port_mask,io_flags)
63
64
#define gpio_set_pin_group_high(port_id,mask) \
65
pio_set_pin_group_high(port_id,mask)
66
67
#define gpio_set_pin_group_low(port_id,mask) \
68
pio_set_pin_group_low(port_id,mask)
69
70
#define gpio_toggle_pin_group(port_id,mask) \
71
pio_toggle_pin_group(port_id,mask)
72
73
#endif
/* SAM_GPIO_H_INCLUDED */
compiler.h
Commonly used includes, types and macros.
inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:04