Microchip® Advanced Software Framework

mega/applications/mega-1284p_xplained_example/init.c File Reference

Initialization file used to init all I/O modules used in the example.

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

#include "init.h"

Functions

void adc_init (void)
 Function to setup ADC. More...
 
void io_init_demo_mode (void)
 Function to setup IO for demo mode. More...
 
void io_init_terminal_mode (void)
 Function to setup IO for terminal mode. More...
 
void power_reduction_enable (void)
 Function to reduce power consumption. More...
 
void qt_set_parameters (void)
 Function to set values for touch sensing. More...
 
void stop_timer1_lightdemo (void)
 Function to stop timer1 used in the light sensor demo. More...
 
void timer1_init (void)
 Function to setup timer1 as a time base for the touch lib. More...
 
void timer1_lightdemo_init (void)
 Function to setup timer1 for light sensor demo. More...
 
void touch_init (void)
 Function to setup touch button. More...
 
void usart1_init (void)
 Function to setup USART1. More...
 

Variables

TOUCH_DATA_T SNS_array [2][2]
 
TOUCH_DATA_T SNSK_array [2][2]