Microchip® Advanced Software Framework

conf_board.h File Reference

Board configuration.

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

Macros

#define BOARD_TWI   TWI0
 
#define BOARD_TWI_IRQn   TWI0_IRQn
 
#define CAP_DEST   SRAM_BASE
 
#define CONF_BOARD_AAT3155
 Enable AAT3155 component to control LCD backlight. More...
 
#define CONF_BOARD_ILI9325
 Enable ILI9325 component to control LCD. More...
 
#define CONF_BOARD_OV7740_IMAGE_SENSOR
 Enable OV7740 image sensor. More...
 
#define CONF_BOARD_PCK0
 Configure PCK0 pins (for OV7740 communications). More...
 
#define CONF_BOARD_SRAM
 
#define CONF_BOARD_TWI0
 Configure TWI0 pins (for OV7740 communications). More...
 
#define ID_BOARD_TWI   ID_TWI0
 
#define ILI9325_LCD_CS   (2UL)
 
#define IMAGE_HEIGHT   (240UL)
 
#define IMAGE_WIDTH   (320UL)
 
#define OV7740_DATA_BUS_ID   OV_DATA_BUS_ID
 
#define OV7740_DATA_BUS_PIO   OV_DATA_BUS_PIO
 
#define OV7740_VSYNC_ID   OV_VSYNC_ID
 
#define OV7740_VSYNC_MASK   OV_VSYNC_MASK
 
#define OV7740_VSYNC_PIO   OV_VSYNC_PIO
 
#define OV7740_VSYNC_TYPE   OV_VSYNC_TYPE
 
#define OV_POWER_MASK   OV_SW_OVT_MASK
 
#define OV_POWER_PIO   OV_SW_OVT_PIO
 
#define PUSH_BUTTON_ATTR   PIN_PUSHBUTTON_1_ATTR
 
#define PUSH_BUTTON_ID   PIN_PUSHBUTTON_1_ID
 
#define PUSH_BUTTON_PIN_MSK   PIN_PUSHBUTTON_1_MASK
 
#define PUSH_BUTTON_PIO   PIN_PUSHBUTTON_1_PIO
 
#define SRAM_BASE   (0x60000000UL)
 
#define SRAM_CS   (0UL)
 

#define BOARD_TWI   TWI0

Referenced by capture_init().

#define BOARD_TWI_IRQn   TWI0_IRQn

Referenced by capture_init().

#define CAP_DEST   SRAM_BASE

Referenced by start_capture().

#define CONF_BOARD_AAT3155

Enable AAT3155 component to control LCD backlight.

#define CONF_BOARD_ILI9325

Enable ILI9325 component to control LCD.

#define CONF_BOARD_OV7740_IMAGE_SENSOR

Enable OV7740 image sensor.

#define CONF_BOARD_PCK0

Configure PCK0 pins (for OV7740 communications).

#define CONF_BOARD_SRAM
#define CONF_BOARD_TWI0

Configure TWI0 pins (for OV7740 communications).

#define ID_BOARD_TWI   ID_TWI0

Referenced by capture_init().

#define ILI9325_LCD_CS   (2UL)

Referenced by display_init().

#define IMAGE_HEIGHT   (240UL)
#define IMAGE_WIDTH   (320UL)
#define OV7740_DATA_BUS_ID   OV_DATA_BUS_ID
#define OV7740_DATA_BUS_PIO   OV_DATA_BUS_PIO

Referenced by start_capture().

#define OV7740_VSYNC_ID   OV_VSYNC_ID

Referenced by init_vsync_interrupts().

#define OV7740_VSYNC_MASK   OV_VSYNC_MASK
#define OV7740_VSYNC_PIO   OV_VSYNC_PIO
#define OV7740_VSYNC_TYPE   OV_VSYNC_TYPE

Referenced by init_vsync_interrupts().

#define OV_POWER_MASK   OV_SW_OVT_MASK

Referenced by capture_init().

#define OV_POWER_PIO   OV_SW_OVT_PIO

Referenced by capture_init().

#define PUSH_BUTTON_ATTR   PIN_PUSHBUTTON_1_ATTR

Referenced by configure_button().

#define PUSH_BUTTON_ID   PIN_PUSHBUTTON_1_ID

Referenced by configure_button().

#define PUSH_BUTTON_PIN_MSK   PIN_PUSHBUTTON_1_MASK

Referenced by configure_button().

#define PUSH_BUTTON_PIO   PIN_PUSHBUTTON_1_PIO

Referenced by configure_button().

#define SRAM_BASE   (0x60000000UL)
#define SRAM_CS   (0UL)

Referenced by board_configure_sram().