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>`

## Public Attributes
uint32_t | channel
uint16_t * | p_buf
uint32_t | len
struct link_node * | next

## Detailed Description

ADC sample-node definition.

Definition at line 160 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 162 of file app_adc.h.

## ◆ len

uint32_t link_node::len

Sample len codes on current channel.

Definition at line 164 of file app_adc.h.

## ◆ next

struct link_node* link_node::next

Point to the next sample node.

Definition at line 165 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 163 of file app_adc.h.

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

- app_adc.h