Atmel Data Visualizer definitions.
This file contains various definitions related to applications producing data streams expected by the Atmel Data Visualizer tool.
The Atmel Data Visualizer (ADV) tool is a standalone Windows application that provides a graphical display of data sent from a remote target. It is available as a separate download. For more information on downloading and installing the ADV tool, visit Atmel Data Visualizer
Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.
|
void | adv_data_send_1 (uint8_t stream_num, uint32_t timestamp, int32_t value) |
| Send Atmel Data Visualizer data packet with 1 data field. More...
|
|
void | adv_data_send_3 (uint8_t stream_num, uint32_t timestamp, int32_t value0, int32_t value1, int32_t value2) |
| Send Atmel Data Visualizer data packet w/ 3 data fields. More...
|
|
| COMPILER_PACK_RESET () void adv_write_buf(uint8_t *buf |
| Write Atmel Data Visualizer data buffer via USB or serial port. More...
|
|
| COMPILER_PACK_SET (1) typedef struct |
| Atmel Data Visualizer start-of-configuration packet. More...
|
|
void adv_data_send_1 |
( |
uint8_t |
stream_num, |
|
|
uint32_t |
timestamp, |
|
|
int32_t |
value |
|
) |
| |
Send Atmel Data Visualizer data packet with 1 data field.
This routine constructs a data visualizer data packet with one data value field and then transmits it. All multi-byte transmitted values use little endian byte order.
- Parameters
-
stream_num | The ID number of the visualizer data stream |
timestamp | A 32-bit timestamp value, in microseconds |
value | The data value to include in the transmitted packet |
- Returns
- Nothing.
Send Atmel Data Visualizer data packet with 1 data field.
This routine constructs a data visualizer data packet with one data value field and then transmits it. All multi-byte transmitted values use little endian byte order.
- Parameters
-
stream_num | The ID number of the visualizer data stream |
timestamp | A 32-bit timestamp value, in microseconds |
value | The data value to include in the transmitted packet |
References ADV_PKT_DATA, ADV_PKT_END, ADV_PKT_HEADER_1, ADV_PKT_HEADER_2, cpu_to_le16, and cpu_to_le32.
Referenced by main().
void adv_data_send_3 |
( |
uint8_t |
stream_num, |
|
|
uint32_t |
timestamp, |
|
|
int32_t |
value0, |
|
|
int32_t |
value1, |
|
|
int32_t |
value2 |
|
) |
| |
Send Atmel Data Visualizer data packet w/ 3 data fields.
This routine constructs a data visualizer data packet with three data value fields and then transmits it. All multi-byte transmitted values use little endian byte order.
- Parameters
-
stream_num | The ID number of the visualizer data stream |
timestamp | A 32-bit timestamp value, in microseconds |
value0 | Data field 0 value |
value1 | Data field 1 value |
value2 | Data field 2 value |
- Returns
- Nothing.
Send Atmel Data Visualizer data packet w/ 3 data fields.
This routine constructs a data visualizer data packet with three data value fields and then transmits it. All multi-byte transmitted values use little endian byte order.
- Parameters
-
stream_num | The ID number of the visualizer data stream |
timestamp | A 32-bit timestamp value, in microseconds |
value0 | Data field 0 value |
value1 | Data field 1 value |
value2 | Data field 2 value |
References ADV_PKT_DATA, ADV_PKT_END, ADV_PKT_HEADER_1, ADV_PKT_HEADER_2, cpu_to_le16, and cpu_to_le32.
Referenced by main().