Microchip® Advanced Software Framework

conf_example.h File Reference

Configuration for PIO example.

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

Macros

#define BOARD_UART_BAUDRATE   115200
 UART baudrate. More...
 
#define BUTTON_STRING   "LEFT_CLICK"
 Button name. More...
 
#define CONSOLE_UART_ID   ID_UART
 UART Hw ID used by the console (UART0). More...
 
#define IFLASH_ADDR   IFLASH0_ADDR
 
#define IFLASH_PAGE_SIZE   IFLASH0_PAGE_SIZE
 
#define PIN_ERASE_MODE_MSK   CCFG_SYSIO_SYSIO12
 
#define PIN_PIO_MODE_MSK   0
 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_PIOE
 
#define PUSH_BUTTON_PIN_MSK   (1 << 7)
 
#define PUSH_BUTTON_PIO   PIOE
 Push button pin definition. More...
 
#define TEST_PAGE_ADDRESS   (IFLASH0_ADDR + IFLASH0_SIZE - IFLASH0_PAGE_SIZE)
 

#define BOARD_UART_BAUDRATE   115200

UART baudrate.

#define BUTTON_STRING   "LEFT_CLICK"

Button name.

Referenced by main().

#define CONSOLE_UART_ID   ID_UART

UART Hw ID used by the console (UART0).

Referenced by configure_console().

#define IFLASH_ADDR   IFLASH0_ADDR
#define IFLASH_PAGE_SIZE   IFLASH0_PAGE_SIZE
#define PIN_ERASE_MODE_MSK   CCFG_SYSIO_SYSIO12

Referenced by main().

#define PIN_PIO_MODE_MSK   0

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_PIOE

Referenced by button_handler(), and configure_button().

#define PUSH_BUTTON_PIN_MSK   (1 << 7)
#define PUSH_BUTTON_PIO   PIOE

Push button pin definition.

Referenced by configure_button(), and main().

#define TEST_PAGE_ADDRESS   (IFLASH0_ADDR + IFLASH0_SIZE - IFLASH0_PAGE_SIZE)

Referenced by main().