/* * inverter.h * * Created on: 21 sep. 2016 * Author: Philip */ /********************************************************************** * NAME: inverter.h * * AUTHOR: Philip Johansson * * PURPOSE: Flip USART inversion on USART0 * * INFORMATION: * * This functionality exists only on USART0. * * Initialize with the desired value * * * * GLOBAL VARIABLES: * * Variable Type Description * * -------- ---- ----------- * * * **********************************************************************/ #ifndef DRIVERS_INVERTER_H_ #define DRIVERS_INVERTER_H_ #pragma once /*********************************************************************** * BRIEF: Init Inverter * * INFORMATION: Must be ran before inversion can be activated. * ***********************************************************************/ void initInverter(bool on); /*********************************************************************** * BRIEF: Set Inverter * * INFORMATION: Does not need bo be ran unless the value is changed. * ***********************************************************************/ void inverterSet(bool on); #endif /* DRIVERS_INVERTER_H_ */