gecko.h File Reference

#include <types.h>
#include <broadway.h>

Go to the source code of this file.

Functions

int gecko_initialize (void)
 Initialize the USBGecko subsystem.
int gecko_shutdown (void)
 Shut down the USBGecko subsystem.
int gecko_printf (const char *fmt,...)
 printf to a USB Gecko

Detailed Description

Simple USBGecko abstraction.


Function Documentation

int gecko_initialize ( void   ) 

Initialize the USBGecko subsystem.

Initializes the USBGecko subsystem, registers the necessary IRQ handlers and performs all other required initialization tasks.

Returns:
If initialization was successful, returns 1. Otherwise 0.
See also:
gecko_shutdown()
int gecko_shutdown ( void   ) 

Shut down the USBGecko subsystem.

Shuts down the USBGecko subsystem, unregisters the IRQ handlers and performs all other required shut down tasks.

Returns:
If shut down was successful, returns 1. Otherwise 0.
See also:
gecko_initialize()
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines
Generated by  doxygen 1.6.3