beautypg.com

Description, Analog_gpio_max maximum for analog gpio mapping, Analog_gpio_min minimum for analog gpio mapping – Polycom C16 User Manual

Page 450: Examples

background image

Design Guide for the Polycom SoundStructure C16, C12, C8, and SR12

A - 108

Description

This parameter gets or sets the value of the analog gpio pin. Writing an input

has no effect and returns the current value of the input. The value for this

parameter is an integer between analog_gpio_min and analog_gpio_max,

inclusive. Those parameters control how the analog value of the pin is mapped

to an integer range.

Examples

analog_gpio_max Maximum For Analog GPIO Mapping

Description

This parameter gets or sets the maximum value of the analog gpio pin. This

parameter along with analog_gpio_min control how the analog value of the pin

is mapped to an integer range.

analog_gpio_min Minimum For Analog GPIO Mapping

Command

Response

Description

get analog_gpio_value
"Analog Logic Pin"

val analog_gpio_value
"Analog Logic Pin" 0

Returns the analog voltage associated with the analog
logic pin "Analog Logic Pin". The logic pin "Analog Logic
Pin" must have been created with a vcdef command.

Argument

Argument value

Channel Type

Virtual Channel

Value Type

Integer

Read/Write Mode

Read/Write

Phys Chans

Analog General Purpose I/O Input

Virt Chans

Control

System Limits

Minimum: -2147483648, Maximum: 2147483647

Default

255

User Limits
Supported

No

Argument

Argument value

Channel Type

Virtual Channel

Value Type

Integer

Read/Write Mode

Read/Write

Phys Chans

Analog General Purpose I/O Input

Virt Chans

Control

This manual is related to the following products: