diff -r 578be2adaf3e -r 307f4279f433 Adaptation/GUID-02B40662-B5F3-59BD-832B-9A28FE3B51C7.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Adaptation/GUID-02B40662-B5F3-59BD-832B-9A28FE3B51C7.dita Fri Oct 15 14:32:18 2010 +0100 @@ -0,0 +1,32 @@ + + + + + +DebugThis topic describes how to use debug messages in the USB +client controller. +

As the USB PDD runs in kernel mode, debug printf are implemented using the KTRACE macro. +This macro takes two arguments:

+ +

Two debug message types are used:

+ +

The following code samples illustrate their use:

+_KTRACE_OPT(KPANIC, Kern::Printf("Error: USB Controller not present")); +_KTRACE_OPT(KUSBPSL, Kern::Printf("Received new Ep0 Setup packet")); +Do not use the KUSB flag. This flag is used +within the PDD PIL and the USB LDD only. +
\ No newline at end of file