Microchip® Advanced Software Framework

conf_example2.h File Reference

Clock system example 2 configuration for Xplain.

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

Macros

Example configuration
#define CLKOUT_PORT   PORTCFG_CLKOUT_PD7_gc
 Port to output clock signal on. More...
 
#define IOPORT_PIN   IOPORT_CREATE_PIN(PORTD, 7)
 Pin to set as output for clock signal. More...
 

#define CLKOUT_PORT   PORTCFG_CLKOUT_PD7_gc

Port to output clock signal on.

This is the configuration for the clock output port, and must be defined as one of the PORTCFG_CLKOUT_t settings of the device header file.

Note
It is only possible to select the port, not the pin: the clock signal will be output on pin 7 of the configured port.
Clock output on PD7 which is available as a header on the XPLAIN

Referenced by main().

#define IOPORT_PIN   IOPORT_CREATE_PIN(PORTD, 7)

Pin to set as output for clock signal.

This must be defined as IOPORT pin 7 of the port setting in CLKOUT_PORT.

Referenced by main().