Public Attributes | List of all members
link_node Struct Reference
Peripheral Driver » APP DRIVER » ADC » Structures

ADC sample-node definition. More...

`#include <app_adc.h>`

Collaboration diagram for link_node:
[legend]

## Public Attributes
uint32_t | channel
| Which channel to be sample; This parameter can be any value of ADC_INPUT_SOURCE:ADC_INPUT_SRC_IO0~ADC_INPUT_SRC_REF. More...
uint16_t * | p_buf
| Buffer pointer of current channel sample codes. More...
uint32_t | len
| Sample len codes on current channel. More...
struct link_node * | next
| Point to the next sample node. More...

## Detailed Description

ADC sample-node definition.

Definition at line 150 of file app_adc.h.

## Member Data Documentation

## ◆ channel

uint32_t link_node::channel

Which channel to be sample; This parameter can be any value of ADC_INPUT_SOURCE:ADC_INPUT_SRC_IO0~ADC_INPUT_SRC_REF.

Definition at line 152 of file app_adc.h.

## ◆ len

uint32_t link_node::len

Sample len codes on current channel.

Definition at line 154 of file app_adc.h.

## ◆ next

struct link_node* link_node::next

Point to the next sample node.

Definition at line 155 of file app_adc.h.

## ◆ p_buf

uint16_t* link_node::p_buf

Buffer pointer of current channel sample codes.

Note:pointer must be 4-byte aligned as it is filled in datas by DMA

Definition at line 153 of file app_adc.h.

The documentation for this struct was generated from the following file:

- app_adc.h