I/o options – Echelon Neuron C User Manual

Page 235

Advertising
background image

Neuron C Reference Guide

215

modified-io-object-declarator

:

io-object-declarator

[

io-option-list

]

io-option-list

:

io-option-list io-option

io-option

The I/O object declarator begins with a pin name, followed by the I/O object type.

io-object-declarator

:

io-object-pin-name

[

io-object-direction

]

io-object-type

io-object-pin-name

:

one

of

IO_0 | IO_1 | IO_2 | IO_3 | IO_4 | IO_5

IO_6 | IO_7 | IO_8 | IO_9 | IO_10 | IO_11

io-object-direction

:

one

of

input | output

io-object-type

:

one of

bit | bitshift | byte

dualslope

edgedivide | edgelog

frequency

i2c | infrared | infrared_pattern

leveldetect

magcard | magcard_bitstream| magtrack1

muxbus

neurowire | nibble

oneshot | ontime

parallel | period | pulsecount | pulsewidth

quadrature | sci | serial | spi

totalcount | touch | triac | stretchedtriac

triggeredcount

wiegand

I/O Options

Most I/O options only apply to a few specific object types. The detailed reference

documentation in the

I/O Model Reference

explains each option that applies for

that I/O object.

io-option

:

baud (

constant-expr

)

clock (

constant-expr

)

clockedge (

clock-edge

)

ded

__fast

invert

kbaud (

constant-expr

)

long

master

mux

numbits (

constant-expr

)

__parity (

constant-expr

)

Advertising