#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
#  untitled.py
#  
#  Copyright 2013  <ast1@linuxAnKa>
#  
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License as published by
#  the Free Software Foundation; either version 2 of the License, or
#  (at your option) any later version.
#  
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#  
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
#  MA 02110-1301, USA.
#  
#  


LOG_STSW_PRI = 135
LOG_EVNT_PRI = 143

"""
SPI MODE 0 : Clock Polarity(0), Clock Phase(0)
SPI MODE 1 : Clock Polarity(0), Clock Phase(1)
SPI MODE 2 : Clock Polarity(1), Clock Phase(0)
SPI MODE 3 : Clock Polarity(1), Clock Phase(1)
"""
SPI_MODE_0   = 0
SPI_MODE_1   = 1
SPI_MODE_2   = 2
SPI_MODE_3   = 3

DAC_LOAD_ID= 0
DAC_OPUT_ID= 1
ADC_ID     = 2
GPIO_ID    = 3
TSENSOR_ID = 4

HV_U_MON_CHAN = 0
HV_I_MON_CHAN = 1


def main():
	
	return 0

if __name__ == '__main__':
	main()

