PreviousNext
setADPCH
Help > Macros > Write to restricted registers > setADPCH

Macro

 

Write to the MCU register ADPCH.

Purpose

 

To select the channel of the MCU A/D converter.

Syntax

 

void setADPCH(channel)

Example

 

setADPCH(0b010001);     // Channel ANC1 selected