Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CaroloCup
FreeRTOSHAL
fhal-driver
Commits
a752f556
Commit
a752f556
authored
Jun 10, 2017
by
Andreas Werner
Browse files
Fix: GPIO_MULTI
parent
84f154ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
gpio/gpio.c
View file @
a752f556
...
...
@@ -49,11 +49,11 @@ int32_t gpio_genericInit(struct gpio *g) {
#ifdef CONFIG_GPIO_MULTI
struct
gpio
*
gpio_init
(
uint32_t
index
);
int32_t
gpio_deinit
(
struct
gpio
*
gpio
);
struct
gpio_pin
*
gpioPin_init
(
struct
gpio
*
gpio
,
uint
8
_t
pin
,
enum
gpio_direction
dir
,
enum
gpio_setting
setting
);
struct
gpio_pin
*
gpioPin_init
(
struct
gpio
*
gpio
,
uint
32
_t
pin
,
enum
gpio_direction
dir
,
enum
gpio_setting
setting
);
int32_t
gpioPin_deinit
(
struct
gpio_pin
*
pin
);
int32_t
gpioPin_enableInterrupt
(
struct
gpio_pin
*
pin
);
int32_t
gpioPin_disableInterrupt
(
struct
gpio_pin
*
pin
);
int32_t
gpioPin_setCallback
(
struct
gpio_pin
*
pin
,
bool
(
*
callback
)(
struct
gpio_pin
*
pin
,
uint
8
_t
pinID
,
void
*
data
),
void
*
data
,
enum
gpio_interrupt
inter
);
int32_t
gpioPin_setCallback
(
struct
gpio_pin
*
pin
,
bool
(
*
callback
)(
struct
gpio_pin
*
pin
,
uint
32
_t
pinID
,
void
*
data
),
void
*
data
,
enum
gpio_interrupt
inter
);
int32_t
gpioPin_setDirection
(
struct
gpio_pin
*
pin
,
enum
gpio_direction
dir
);
int32_t
gpioPin_setSetting
(
struct
gpio_pin
*
pin
,
enum
gpio_setting
setting
);
int32_t
gpioPin_SchmittTrigger
(
struct
gpio_pin
*
pin
,
bool
schmitt
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment