Simple USBHost library for STM32F746NG Discovery board. Only either the Fastspeed or the Highspeed port can be used( not both together)

Dependents:   DISCO-F746NG_USB_Host

Fork of KL46Z-USBHost by Norimasa Okamoto

USBHost/mydebug.h

Committer:
DieterGraef
Date:
2016-06-13
Revision:
24:5396b6a93262
Parent:
11:61843badd06e

File content as of revision 24:5396b6a93262:

#pragma once

void debug_hex(unsigned char* buf, int size)
{
    for(int i = 0; i < size; i++) {
        printf("%02x ", buf[i]);
        if (i%16 == 15) {
            printf("\n");
        }
    }
    printf("\n");
}