SAMV71 Xplained Ultra Software Package 1.3

main.c File Reference

#include "board.h"
#include <HIDDTransferDriver.h>
#include <stdio.h>
#include <string.h>

Go to the source code of this file.

Defines

#define DEBOUNCE_TIME   10
#define NO_PUSHBUTTON

Functions

void USBDCallbacks_RequestReceived (const USBGenericRequest *request)
void USBDDriverCallbacks_ConfigurationChanged (uint8_t cfgnum)
int main (void)

Variables

USBDDriverDescriptors hiddTransferDriverDescriptors

Detailed Description

This file contains all the specific code for the usb_hid_transfer example

Definition in file main.c.


Define Documentation

#define DEBOUNCE_TIME   10

Headers Definitions Delay for push-button denounce (ms)

Definition at line 121 of file main.c.


Function Documentation

int main ( void   ) 

Main function Initializes the system and then monitors buttons, sending the corresponding character when one is pressed.

Definition at line 254 of file main.c.

Here is the call graph for this function:

void USBDCallbacks_RequestReceived ( const USBGenericRequest request  ) 

Invoked whenever a SETUP request is received from the host. Forwards the request to the standard handler.

Definition at line 207 of file main.c.

Here is the call graph for this function:

void USBDDriverCallbacks_ConfigurationChanged ( uint8_t  cfgnum  ) 

Invoked when the configuration of the device changes. Start reading output reports.

Parameters:
cfgnum New configuration number.

Definition at line 217 of file main.c.

Here is the call graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines