Microchip® Advanced Software Framework

conf_example.h File Reference

Configuration for PIO example.

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

Macros

#define BUTTON_STRING   "BP2 WAKU"
 Button name. More...
 
#define PIN_ERASE_MODE_MSK   (0)
 
#define PIN_PIO_MODE_MSK   CCFG_SYSIO_SYSIO12
 The erase pin mask value in the PIO mode and erase mode. More...
 
#define PUSH_BUTTON_ATTR   (PIO_PULLUP | PIO_DEBOUNCE | PIO_IT_RISE_EDGE)
 
#define PUSH_BUTTON_ID   ID_PIOA
 
#define PUSH_BUTTON_PIN_MSK   (1 << 19)
 
#define PUSH_BUTTON_PIO   PIOA
 Push button pin definition. More...
 
#define TEST_PAGE_ADDRESS   (IFLASH_ADDR + IFLASH_SIZE - IFLASH_PAGE_SIZE * 4)
 Test page start address. More...
 

#define BUTTON_STRING   "BP2 WAKU"

Button name.

Referenced by main().

#define PIN_ERASE_MODE_MSK   (0)

Referenced by main().

#define PIN_PIO_MODE_MSK   CCFG_SYSIO_SYSIO12

The erase pin mask value in the PIO mode and erase mode.

Referenced by main().

#define PUSH_BUTTON_ATTR   (PIO_PULLUP | PIO_DEBOUNCE | PIO_IT_RISE_EDGE)

Referenced by configure_button().

#define PUSH_BUTTON_ID   ID_PIOA

Referenced by button_handler(), and configure_button().

#define PUSH_BUTTON_PIN_MSK   (1 << 19)
#define PUSH_BUTTON_PIO   PIOA

Push button pin definition.

Referenced by configure_button(), and main().

#define TEST_PAGE_ADDRESS   (IFLASH_ADDR + IFLASH_SIZE - IFLASH_PAGE_SIZE * 4)

Test page start address.

Referenced by main().