Advertisement
Guest User

Untitled

a guest
Jun 16th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 4.97 KB | None | 0 0
  1. void GetBrickDataAddress (byte & data[ ]) [inline]
  2. Get NXT address. This method reads the address of the NXT and stores it in the data buffer provided.
  3. Parameters:
  4. data The byte array reference that will contain the device address.
  5.  
  6. void GetHSInputBuffer (const byte offset, byte cnt, byte & data[ ]) [inline]
  7. Get hi-speed port input buffer data. This method reads count bytes of data from the hi-speed port input
  8. buffer and writes it to the buffer provided.
  9. Generated on Sun May 23 16:17:21 2010 for NXC by Doxygen
  10. 336 Module Documentation
  11. Parameters:
  12. offset A constant offset into the hi-speed port input buffer.
  13. cnt The number of bytes to read.
  14. data The byte array reference which will contain the data read from the hi-speed port input buffer.
  15. Examples:
  16. ex_GetHSInputBuffer.nxc.
  17. 9.49.2.29 void GetHSOutputBuffer (const byte offset, byte cnt, byte & data[ ]) [inline]
  18. Get hi-speed port output buffer data. This method reads count bytes of data from the hi-speed port output
  19. buffer and writes it to the buffer provided.
  20. Parameters:
  21. offset A constant offset into the hi-speed port output buffer.
  22. cnt The number of bytes to read.
  23. data The byte array reference which will contain the data read from the hi-speed port output buffer.
  24. Examples:
  25. ex_GetHSOutputBuffer.nxc.
  26. 9.49.2.30 void GetUSBInputBuffer (const byte offset, byte cnt, byte & data[ ]) [inline]
  27. Get usb input buffer data. This method reads count bytes of data from the usb input buffer and writes it to
  28. the buffer provided.
  29. Parameters:
  30. offset A constant offset into the usb input buffer.
  31. cnt The number of bytes to read.
  32. data The byte array reference which will contain the data read from the usb input buffer.
  33. Examples:
  34. ex_GetUSBInputBuffer.nxc.
  35. 9.49.2.31 void GetUSBOutputBuffer (const byte offset, byte cnt, byte & data[ ]) [inline]
  36. Get usb output buffer data. This method reads count bytes of data from the usb output buffer and writes it
  37. to the buffer provided.
  38. Parameters:
  39. offset A constant offset into the usb output buffer.
  40. cnt The number of bytes to read.
  41. data The byte array reference which will contain the data read from the usb output buffer.
  42. Examples:
  43. ex_GetUSBOutputBuffer.nxc.
  44. Generated on Sun May 23 16:17:21 2010 for NXC by Doxygen
  45. 9.49 Comm module functions 337
  46. 9.49.2.32 void GetUSBPollBuffer (const byte offset, byte cnt, byte & data[ ]) [inline]
  47. Get usb poll buffer data. This method reads count bytes of data from the usb poll buffer and writes it to the
  48. buffer provided.
  49. Parameters:
  50. offset A constant offset into the usb poll buffer.
  51. cnt The number of bytes to read.
  52. data The byte array reference which will contain the data read from the usb poll buffer.
  53. Examples:
  54. ex_GetUSBPollBuffer.nxc.
  55. 9.49.2.33 byte HSFlags (void) [inline]
  56. Get hi-speed port flags. This method returns the value of the hi-speed port flags.
  57. Returns:
  58. The hi-speed port flags. See Hi-speed port flags constants.
  59. Examples:
  60. ex_HSFlags.nxc.
  61. 9.49.2.34 byte HSInputBufferInPtr (void) [inline]
  62. Get hi-speed port input buffer in-pointer. This method returns the value of the input pointer of the hi-speed
  63. port input buffer.
  64. Returns:
  65. The hi-speed port input buffer’s in-pointer value.
  66. Examples:
  67. ex_HSInputBufferInPtr.nxc.
  68. 9.49.2.35 byte HSInputBufferOutPtr (void) [inline]
  69. Get hi-speed port input buffer out-pointer. This method returns the value of the output pointer of the
  70. hi-speed port input buffer.
  71. Returns:
  72. The hi-speed port input buffer’s out-pointer value.
  73. Examples:
  74. ex_HSInputBufferOutPtr.nxc.
  75. Generated on Sun May 23 16:17:21 2010 for NXC by Doxygen
  76. 338 Module Documentation
  77. 9.49.2.36 int HSMode (void) [inline]
  78. Get hi-speed port mode. This method returns the value of the hi-speed port mode.
  79. Returns:
  80. The hi-speed port mode (data bits, stop bits, parity). See Hi-speed port data bits constants, Hi-speed
  81. port stop bits constants, Hi-speed port parity constants, and Hi-speed port combined UART constants.
  82. Examples:
  83. ex_HSMode.nxc.
  84. 9.49.2.37 byte HSOutputBufferInPtr (void) [inline]
  85. Get hi-speed port output buffer in-pointer. This method returns the value of the input pointer of the hi-speed
  86. port output buffer.
  87. Returns:
  88. The hi-speed port output buffer’s in-pointer value.
  89. Examples:
  90. ex_HSOutputBufferInPtr.nxc.
  91. 9.49.2.38 byte HSOutputBufferOutPtr (void) [inline]
  92. Get hi-speed port output buffer out-pointer. This method returns the value of the output pointer of the
  93. hi-speed port output buffer.
  94. Returns:
  95. The hi-speed port output buffer’s out-pointer value.
  96. Examples:
  97. ex_HSOutputBufferOutPtr.nxc.
  98. 9.49.2.39 byte HSSpeed (void) [inline]
  99. Get hi-speed port speed. This method returns the value of the hi-speed port speed (baud rate).
  100. Returns:
  101. The hi-speed port speed (baud rate). See Hi-speed port baud rate constants.
  102. Examples:
  103. ex_HSSpeed.nxc.
  104. Generated on Sun May 23 16:17:21 2010 for NXC by Doxygen
  105. 9.49 Comm module functions 339
  106. 9.49.2.40 byte HSState (void) [inline]
  107. Get hi-speed port state. This method returns the value of the hi-speed port state.
  108. Returns:
  109. The hi-speed port state. See Hi-speed port state constants.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement