Microchip® Advanced Software Framework

conf_pplc_if.h File Reference

PPLC interface Configuration.

Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.

#include "board.h"

Macros

#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)
 
#define PPLC_ARST_ID   ID_PIOA
 
#define PPLC_ARST_INACTIVE_LEVEL   IOPORT_PIN_LEVEL_HIGH
 
#define PPLC_ARST_MASK   PIO_PA27
 
#define PPLC_ARST_PIO   PIOA
 
#define PPLC_ARST_TYPE   PIO_OUTPUT_1
 
#define PPLC_CS   0
 
#define PPLC_INT
 
#define PPLC_INT_ATTR   (PIO_DEBOUNCE | PIO_IT_FALL_EDGE)
 
#define PPLC_INT_FLAGS   (IOPORT_MODE_DEBOUNCE)
 
#define PPLC_INT_GPIO   (PIO_PA15_IDX)
 
#define PPLC_INT_ID   ID_PIOA
 
#define PPLC_INT_IRQn   PIOA_IRQn
 
#define PPLC_INT_MASK   PIO_PA15
 
#define PPLC_INT_PIO   PIOA
 
#define PPLC_INT_SENSE   (IOPORT_SENSE_FALLING)
 
#define PPLC_INT_TYPE   PIO_INPUT
 
#define PPLC_SPI_MODULE   SPI
 
#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)
 
#define PPLC_SRST_ID   ID_PIOA
 
#define PPLC_SRST_INACTIVE_LEVEL   IOPORT_PIN_LEVEL_HIGH
 
#define PPLC_SRST_MASK   PIO_PA28
 
#define PPLC_SRST_PIO   PIOA
 
#define PPLC_SRST_TYPE   PIO_OUTPUT_1
 

#define PPLC_ARST   {PIO_PA27, PIOA, ID_PIOA, PIO_OUTPUT_1, PIO_DEFAULT}
#define PPLC_ARST_ACTIVE_LEVEL   IOPORT_PIN_LEVEL_LOW

Referenced by _reset_plc_modem().

#define PPLC_ARST_ATTR   PIO_DEFAULT
#define PPLC_ARST_GPIO   (PIO_PA27_IDX)

Referenced by _reset_plc_modem(), and pplc_if_init().

#define PPLC_ARST_ID   ID_PIOA
#define PPLC_ARST_INACTIVE_LEVEL   IOPORT_PIN_LEVEL_HIGH

Referenced by _reset_plc_modem(), and 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
Value:
{PIO_PA15, PIOA, ID_PIOA, PIO_INPUT, \
#define PIO_DEBOUNCE
Definition: pio.h:93
#define PIO_IT_FALL_EDGE
Definition: pio.h:108
Definition: pio.h:78
#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
#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