PPLC interface Configuration.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
#include "board.h"
#define PPLC_ARST {PIO_PA27, PIOA, ID_PIOA, PIO_OUTPUT_1, PIO_DEFAULT} |
#define PPLC_ARST_ACTIVE_LEVEL IOPORT_PIN_LEVEL_LOW |
#define PPLC_ARST_ATTR PIO_DEFAULT |
#define PPLC_ARST_GPIO (PIO_PA27_IDX) |
Referenced by pplc_if_init().
#define PPLC_ARST_ID ID_PIOA |
#define PPLC_ARST_INACTIVE_LEVEL IOPORT_PIN_LEVEL_HIGH |
Referenced by pplc_if_init().
#define PPLC_ARST_MASK PIO_PA27 |
#define PPLC_ARST_PIO PIOA |
#define PPLC_ARST_TYPE PIO_OUTPUT_1 |
#define PPLC_CS 0 |
Referenced by _pplc_if_config().
#define PPLC_INT |
#define PPLC_INT_ATTR (PIO_DEBOUNCE | PIO_IT_FALL_EDGE) |
Referenced by pplc_if_init().
#define PPLC_INT_FLAGS (IOPORT_MODE_DEBOUNCE) |
#define PPLC_INT_GPIO (PIO_PA15_IDX) |
Referenced by pplc_if_init().
#define PPLC_INT_ID ID_PIOA |
Referenced by pplc_if_init().
#define PPLC_INT_IRQn PIOA_IRQn |
Referenced by _reset_rx_flag_interrupt(), and pplc_if_init().
#define PPLC_INT_MASK PIO_PA15 |
Referenced by pplc_if_init().
#define PPLC_INT_PIO PIOA |
Referenced by pplc_if_init().
#define PPLC_INT_SENSE (IOPORT_SENSE_FALLING) |
#define PPLC_INT_TYPE PIO_INPUT |
#define PPLC_SPI_MODULE SPI |
Referenced by _pplc_cmd_op(), and _pplc_if_config().
#define PPLC_SRST {PIO_PA28, PIOA, ID_PIOA, PIO_OUTPUT_1, PIO_DEFAULT} |
#define PPLC_SRST_ACTIVE_LEVEL IOPORT_PIN_LEVEL_LOW |
#define PPLC_SRST_ATTR PIO_DEFAULT |
#define PPLC_SRST_GPIO (PIO_PA28_IDX) |
Referenced by pplc_if_init().
#define PPLC_SRST_ID ID_PIOA |
#define PPLC_SRST_INACTIVE_LEVEL IOPORT_PIN_LEVEL_HIGH |
Referenced by pplc_if_init().
#define PPLC_SRST_MASK PIO_PA28 |
#define PPLC_SRST_PIO PIOA |
#define PPLC_SRST_TYPE PIO_OUTPUT_1 |