QlightRead Project  1.23

/home/ron/Desktop/Downloads/project/QlightRead_hw/libat90usbxx2.h File Reference

#include "global_dep.h"
#include "at90usbxx2_driver.h"
Include dependency graph for libat90usbxx2.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

SINT8 g_init (void)
 g_init() globally initialises the at90usb162
UINT16 process12SPIvalue (void)
 process12SPIvalue() Function to process full 12bits of the ADC
SINT8 send_usb_host (UINT16 *value)
 send_usb_host() Function to 'frontend' the USB sending process

Detailed Description

QlightRead hardware extension program

----------------------------------------------------------------------

Description: This File contains prototypes for libat90usbxx2.h

----------------------------------------------------------------------

LICENSE: Copyright (C) 2011 by Ron Ablinger trilog_studios@nerdshack.com

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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ----------------------------------------------------------------------

Author:
Ron Ablinger <trilog_studios@nerdshack.com>
Date:
2011/01/17
Version:
Version:
1.23

Last Modified: 2010/01/17

Author:
Trilog Studios<Ron Ablinger>

Definition in file libat90usbxx2.h.


Function Documentation

SINT8 g_init ( void  )

g_init() globally initialises the at90usb162

Parameters:
none
Returns:
short unsigned int
Return values:
Returns-1 on error ,0 else

Definition at line 51 of file libat90usbxx2.c.

Here is the call graph for this function:

Here is the caller graph for this function:

UINT16 process12SPIvalue ( void  )

process12SPIvalue() Function to process full 12bits of the ADC

Parameters:
none
Returns:
unsigned int
Return values:
Returns12bit ADC value as unsigned int

Definition at line 73 of file libat90usbxx2.c.

Here is the call graph for this function:

Here is the caller graph for this function:

SINT8 send_usb_host ( UINT16 *  value)

send_usb_host() Function to 'frontend' the USB sending process

Parameters:
unsignedint value - a pointer to a value given by caller
Returns:
unsigned int
Return values:
Returns-1 on error, 0 else

Definition at line 104 of file libat90usbxx2.c.

Here is the call graph for this function:

Here is the caller graph for this function:

 All Data Structures Files Functions Variables Defines