151
6.5.20Shiftregister
Shortdescription
Theshiftregisterfunctioncanbeusedtoreadaninputvalueandtoshiftthebits.Theoutputvalue
correspondswiththeconfiguredshiftregisterbit.Theshiftdirectioncanbechangedataspecialinput.
Connection Description
Input In Thefunctionwhenstarted
readsthisinputvalue.
Input Trg TheSFBisstartedwitha
positiveedge(0t1
transition)atinputTrg
(Trigger).A1to0transition
isirrelevant.
Input Dir Youdefinetheshiftdirection
oftheshiftregisterbits
S1...S8attheDirinput:
Dir=0:shiftup(S1>>S8)
Dir=1:shiftdown(S8>>
S1)
Parameter Shiftregisterbit that
determinesthevalueof
outputQ.
Possiblesettings:S1...S8
Retentivity set(on)=the
statusisretentivein
memory.
Output Q Theoutputvalue
correspondswiththe
configuredshiftregisterbit.