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-17
Revision:
25:7d6d9fc471bf
Parent:
24:5396b6a93262

File content as of revision 25:7d6d9fc471bf:

#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");
}