SAM architecture specific IOPORT service implementation header file. More...
#include <sysclk.h>
Go to the source code of this file.
Macros | |
#define | IOPORT_BASE_ADDRESS (uintptr_t)PIOA |
#define | IOPORT_CREATE_PIN(port, pin) ((IOPORT_ ## port) * 32 + (pin)) |
Create IOPORT pin number. More... | |
#define | IOPORT_PIO_OFFSET ((uintptr_t)PIOB - (uintptr_t)PIOA) |
#define | IOPORT_PIOA 0 |
#define | IOPORT_PIOB 1 |
#define | IOPORT_PIOC 2 |
#define | IOPORT_PIOD 3 |
#define | IOPORT_PIOE 4 |
#define | IOPORT_PIOF 5 |
IOPORT Mode bit definitions | |
#define | IOPORT_MODE_MUX_MASK (0x7 << 0) |
#define | IOPORT_MODE_MUX_BIT0 ( 1 << 0) |
#define | IOPORT_MODE_MUX_A ( 0 << 0) |
#define | IOPORT_MODE_MUX_B ( 1 << 0) |
#define | IOPORT_MODE_PULLUP ( 1 << 3) |
#define | IOPORT_MODE_OPEN_DRAIN ( 1 << 5) |
#define | IOPORT_MODE_GLITCH_FILTER ( 1 << 6) |
#define | IOPORT_MODE_DEBOUNCE ( 1 << 7) |
Typedefs | |
typedef uint32_t | ioport_mode_t |
typedef uint32_t | ioport_pin_t |
typedef uint32_t | ioport_port_mask_t |
typedef uint32_t | ioport_port_t |
SAM architecture specific IOPORT service implementation header file.
Copyright (c) 2012-2018 Microchip Technology Inc. and its subsidiaries.
Definition in file ioport_pio.h.
#define IOPORT_BASE_ADDRESS (uintptr_t)PIOA |
Definition at line 42 of file ioport_pio.h.
Definition at line 43 of file ioport_pio.h.
#define IOPORT_PIOA 0 |
Definition at line 45 of file ioport_pio.h.
#define IOPORT_PIOB 1 |
Definition at line 46 of file ioport_pio.h.
#define IOPORT_PIOC 2 |
Definition at line 47 of file ioport_pio.h.
#define IOPORT_PIOD 3 |
Definition at line 48 of file ioport_pio.h.
#define IOPORT_PIOE 4 |
Definition at line 49 of file ioport_pio.h.
#define IOPORT_PIOF 5 |
Definition at line 50 of file ioport_pio.h.
typedef uint32_t ioport_mode_t |
Definition at line 92 of file ioport_pio.h.
typedef uint32_t ioport_pin_t |
Definition at line 93 of file ioport_pio.h.
typedef uint32_t ioport_port_mask_t |
Definition at line 95 of file ioport_pio.h.
typedef uint32_t ioport_port_t |
Definition at line 94 of file ioport_pio.h.
|
static |
Definition at line 171 of file ioport_pio.h.
|
static |
Definition at line 159 of file ioport_pio.h.
|
static |
Definition at line 165 of file ioport_pio.h.
|
static |
Definition at line 153 of file ioport_pio.h.
|
static |
Definition at line 302 of file ioport_pio.h.
|
static |
Definition at line 307 of file ioport_pio.h.
|
static |
Definition at line 131 of file ioport_pio.h.
|
static |
Definition at line 121 of file ioport_pio.h.
|
static |
Definition at line 126 of file ioport_pio.h.
|
static |
Definition at line 97 of file ioport_pio.h.
|
static |
Definition at line 102 of file ioport_pio.h.
|
static |
Definition at line 264 of file ioport_pio.h.
|
static |
Definition at line 278 of file ioport_pio.h.
|
static |
Definition at line 243 of file ioport_pio.h.
|
static |
Definition at line 366 of file ioport_pio.h.
|
static |
Definition at line 250 of file ioport_pio.h.
|
static |
Definition at line 290 of file ioport_pio.h.
|
static |
Definition at line 177 of file ioport_pio.h.
|
static |
Definition at line 331 of file ioport_pio.h.
|
static |
Definition at line 313 of file ioport_pio.h.
|
static |
Definition at line 325 of file ioport_pio.h.