GPIO service for SAM. More...
Go to the source code of this file.
Macros | |
#define | gpio_configure_group(port_id, port_mask, io_flags) pio_configure_pin_group(port_id,port_mask,io_flags) |
#define | gpio_configure_pin(io_id, io_flags) pio_configure_pin(io_id,io_flags) |
#define | gpio_pin_is_high(io_id) (pio_get_pin_value(io_id) ? 1 : 0) |
#define | gpio_pin_is_low(io_id) (pio_get_pin_value(io_id) ? 0 : 1) |
#define | gpio_set_pin_group_high(port_id, mask) pio_set_pin_group_high(port_id,mask) |
#define | gpio_set_pin_group_low(port_id, mask) pio_set_pin_group_low(port_id,mask) |
#define | gpio_set_pin_high(io_id) pio_set_pin_high(io_id) |
#define | gpio_set_pin_low(io_id) pio_set_pin_low(io_id) |
#define | gpio_toggle_pin(io_id) pio_toggle_pin(io_id) |
#define | gpio_toggle_pin_group(port_id, mask) pio_toggle_pin_group(port_id,mask) |
GPIO service for SAM.
Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.
Definition in file sam_gpio.h.
#define gpio_configure_group | ( | port_id, | |
port_mask, | |||
io_flags | |||
) | pio_configure_pin_group(port_id,port_mask,io_flags) |
Definition at line 61 of file sam_gpio.h.
#define gpio_configure_pin | ( | io_id, | |
io_flags | |||
) | pio_configure_pin(io_id,io_flags) |
Definition at line 58 of file sam_gpio.h.
#define gpio_pin_is_high | ( | io_id | ) | (pio_get_pin_value(io_id) ? 1 : 0) |
Definition at line 46 of file sam_gpio.h.
#define gpio_pin_is_low | ( | io_id | ) | (pio_get_pin_value(io_id) ? 0 : 1) |
Definition at line 43 of file sam_gpio.h.
#define gpio_set_pin_group_high | ( | port_id, | |
mask | |||
) | pio_set_pin_group_high(port_id,mask) |
Definition at line 64 of file sam_gpio.h.
#define gpio_set_pin_group_low | ( | port_id, | |
mask | |||
) | pio_set_pin_group_low(port_id,mask) |
Definition at line 67 of file sam_gpio.h.
#define gpio_set_pin_high | ( | io_id | ) | pio_set_pin_high(io_id) |
Definition at line 49 of file sam_gpio.h.
#define gpio_set_pin_low | ( | io_id | ) | pio_set_pin_low(io_id) |
Definition at line 52 of file sam_gpio.h.
#define gpio_toggle_pin | ( | io_id | ) | pio_toggle_pin(io_id) |
Definition at line 55 of file sam_gpio.h.
#define gpio_toggle_pin_group | ( | port_id, | |
mask | |||
) | pio_toggle_pin_group(port_id,mask) |
Definition at line 70 of file sam_gpio.h.