link_node Struct Reference

ADC sample-node definition. More...

#include <app_adc.h>

Public Attributes

uint32_t channel
 
uint16_t * p_buf
 
uint32_t len
 
struct link_nodenext
 

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: