DT USB Flags


Closed Thread
Results 1 to 5 of 5

Thread: DT USB Flags

Hybrid View

  1. #1
    Join Date
    Jan 2013
    Location
    Texas USA
    Posts
    229

    Default Re: DT USB Flags

    "DEFINEs in PBP are converted literally to Assembly Language #DEFINE directives." from the PBP manual.

    The "DEFINE USB_RXrcv POTRD,2" in PBP is converted to "#DEFINE USB_RXrcv PORTD,2"
    An Assembly "#Define" in this case is just a text substitution.
    In the Assembly code, wherever "USB_RXrcv" is, it is substituted (replaced) with "PORTD,2"
    Regards,
    TABSoft

  2. #2
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172

    Default Re: DT USB Flags

    Thank you, that's what I thought from Pedja's post.

    Robert

Similar Threads

  1. USB to USB flash Drive File Copier
    By surya089 in forum USB
    Replies: 2
    Last Post: - 16th December 2012, 02:22
  2. USB to USB flash Drive File Copier
    By emildownloads in forum General
    Replies: 222
    Last Post: - 27th October 2011, 02:23
  3. LCD issue - what does FLAGS = 0 really do?
    By BrianT in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 27th February 2008, 06:26
  4. set flags within a variable?
    By peterdeco1 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 24th October 2006, 12:07
  5. trouble with FLAGs
    By Srigopal007 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 10th November 2004, 03:26

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts