QlightRead Project
|
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 |
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. ----------------------------------------------------------------------
Last Modified: 2010/01/17
Definition in file libat90usbxx2.h.
SINT8 g_init | ( | void | ) |
g_init() globally initialises the at90usb162
none |
Returns | -1 on error ,0 else |
Definition at line 51 of file libat90usbxx2.c.
UINT16 process12SPIvalue | ( | void | ) |
process12SPIvalue() Function to process full 12bits of the ADC
none |
Returns | 12bit ADC value as unsigned int |
Definition at line 73 of file libat90usbxx2.c.
SINT8 send_usb_host | ( | UINT16 * | value | ) |
send_usb_host() Function to 'frontend' the USB sending process
unsigned | int value - a pointer to a value given by caller |
Returns | -1 on error, 0 else |
Definition at line 104 of file libat90usbxx2.c.