mode=INVALID
if(bit_counter==0 && sampled_avlink_in==0)
{
}
else if(bit_counter==1 && sampled_avlink_in==0)
{
}
else if(bit_counter==2 && sampled_avlink_in==0)
{
}
else if(bit_counter>=3 && mode==INVALID)
{
}
13.8 ESC/DIR Bit Validation
The receiver performs optional ESC/DIR bit validation for the mode 0 header. This option is set by
setting the AVL_MODE00_HEADER_VALIDATE bit in the memory. The validation is
summarized in
Figure
* Check if "ONE" of /PAS and /NAS is low.
* Check if /DES is low.
* Check if DIR = (/PAS + /NAS) * /DES
AVL_MODE00_HEADER_VALIDATE, ESC/DIR Bit validation , AVLINK Map, Address 0x52,
[0]
Function
AVL_MODE00_H
EADER_VALIDA
TE
1
0
Rev. F August 2010
mode=1;
start_sequence_error=0;
mode=2;
start_sequence_error=0;
mode=3;
start_sequence_error=0;
mode=INVALID;
start_sequence_error=1;
Figure 127: Pseudo C Code for Mode Detection
128.
Figure 128: Pseudo C Code for ESC/DIR Bit Validation
Description
Performs ESC/DIR bit validation for mode 0 headers
Does not perform ESC/DIR bit validation for mode 0 headers
373
ADV7604
Need help?
Do you have a question about the Advantiv ADV7604 and is the answer not in the manual?