You are here: Register Set > Analog Input General Configuration (Index=32, RB='1')
STX104 Reference Manual
ContentsIndexHome
PreviousUpNext
Analog Input General Configuration (Index=32, RB='1')

Analog Input General Configuration Register

Register Layout

Index=0x20, Byte 0. RB='1'.

D7 
D6 
D5 
D4 
D3 
D2 
D1 
D0 
MAVG_INV 
SAIFTTS 
SAIFCTS 
nSGATE 
AISS3 
AISS2 
AISS1 
AISS0 
Bit Definitions
NAME 
DIRECTION 
DEFAULT 
DESCRIPTION 
Don't Care 
MAVG_INV 
rw 
Invert the state of the moving average filter jumper (M4). This allows one to enable/disable moving average filter through software.
0 = non-inverted or normal operation (default)
1 = invert state of jumper to enable/disable moving average filter function. Observe the state at General Configuration Register. If the M4J bit is set in the General Configuration Register, then the moving average filter is enabled. 
SAIFTTS 
rw 
Sync Analog Input Frame Timer to Trigger Start. If set, then also moves the first sample to just after the trigger start rather than sampling at any time (i.e. 0 to 1 sample interval) after the trigger start.
0 = disabled (default). Timing between samples remains fixed regardless of point of trigger.
1 = Clear Analog Input Frame Timer upon Trigger Start. Sampling begins just after the trigger-start, thus synchronizing the sampling to the trigger start. 
SAIFCTS 
rw 
Sync Analog Input Frame Counter to Trigger Start. This can be used to synchronize sample or frame counting to a trigger start.
0 = disabled (default).
1 = Clear Analog Input Frame Counter upon Trigger Start 
nSGATE 
rw 
Sampling Gate
0 = Ignore triggering subsystem (default)
1 = Use triggering subsystem for ADC-sampling 
AISS[3:0] 
rw 
0000 
Analog Input Sampling Sources. This select the signal that is used to generate ADC-samples or ADC-bursts.
0000 = use ALSS[1:0] configuration (default, legacy ADC-sampling/-burst source)
0001 = Analog Input Sample/Frame Timer.
0010 = Interrupt Threshold Counter
0011 = none
0100 = none
0101 = none
0110 = none
0111 = none
1000 = DIN0 rising edge
1001 = DIN0 falling edge
1010 = DIN1 rising edge
1011 = DIN1 falling edge
1100 = DIN2 rising edge
1101 = DIN2 falling edge
1110 = DIN3 rising edge
1111 = DIN3 falling edge
 

The Analog Input General Configuration Register configures the source of ADC-sampling or ADC-burst signalling (in legacy terms it is the old ADC-triggering sources). Upon reset or power up it defaults to legacy mode of operation.

Copyright © 1997-2008 by Apex Embedded Systems. All rights reserved. Updated on Wednesday, April 02, 2008.
What do you think about this topic? Send feedback!