Microchip® Advanced Software Framework

conf_example.h File Reference

Configuration for PIO example.

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

Macros

#define BUTTON_STRING   "SW0"
 Button name. More...
 
#define PIN_ERASE_MODE_MSK   (matrix_get_system_io() & (~CCFG_SYSIO_SYSIO12))
 
#define PIN_PIO_MODE_MSK   (matrix_get_system_io() | 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 << 11)
 
#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   "SW0"

Button name.

Referenced by main().

#define PIN_ERASE_MODE_MSK   (matrix_get_system_io() & (~CCFG_SYSIO_SYSIO12))

Referenced by main().

#define PIN_PIO_MODE_MSK   (matrix_get_system_io() | 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 << 11)
#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().