User's Manual

– –
– –
68 69
EXMASK - Exception Mask
Volatile Address = 0x6C; Non-Volatile Address = 0x21
The module has a built-in exception engine that can notify the host
processor of an unexpected event. When an exception occurs, this register
is ANDed with the exception code. A non-zero result causes the EX line
to go high. Reading the EXCEPT register clears the exception and resets
the EX line. If the ANDed result is zero, the EX line is not asserted but the
exception code is stored in the EXCEPT register. Please see the Exception
Engine section for more details.
It is recommended to use the EEXMASK registers instead for new designs.
Figure 68 shows examples of the commands and Figure 69 shows the
available values.
Figure 68: HumPRO-A
TM
Series Transceiver Exception Mask Command and Response
HumPRO-A
TM
Series Example Exception Masks
V Exception Name
0x08 Allows only EX_BUFOVFL and EX_RFOVFL to trigger the EX line
0x10 Allows only EX_WRITEREGFAILED to trigger the EX line
0x20 Allows only EX_NORFACK to trigger the EX line
0x40
Allows only EX_BADCRC, EX_BADHEADER, EX_BADSEQID and EX_
BADFRAMETYPE exceptions to trigger the EX line
0x60
Allows EX_BADCRC, EX_BADHEADER, EX_BADSEQID, EX_BADFRAMETYPE
and EX_NORFACK exceptions to trigger the EX line
0xFF Allows all exceptions to trigger the EX line
Figure 69: HumPRO-A
TM
Series Transceiver Example Exception Masks
HumPRO-A
TM
Series Exception Mask
Read Command Read Response
Header Size Escape Address ACK Address Value
0xFF 0x02 0xFE
0x6C
0x21
0x06
0x6C
0x21
V
Write Command
Header Size Address Value
0xFF 0x02
0x6C
0x21
V
UMASK - User ID Mask
Volatile Address = 0x62-0x65; Non-Volatile Address = 0x17-0x1A
These registers contain the user ID mask when User Addressing mode or
Extended User Addressing mode are enabled. Please see the Addressing
Modes section for more details. Each register byte is read and written
separately.
Figure 66 shows the User ID Mask registers.
DESTDSN - Destination Serial Number
Volatile Address = 0x68-0x6B; Non-Volatile Address = 0x1D-0x20
These registers contain the serial number of the destination module when
DSN Addressing Mode is enabled. Please see the Addressing Modes
section for more details. Each register byte is read and written separately.
Figure 67 shows the Destination DSN registers.
Figure 66: HumPRO-A
TM
Series User ID Mask Registers
HumPRO-A
TM
Series Destination DSN Registers
Name
Volatile
Address
Non-Volatile
Address
Description
DESTDSN3 0x68 0x1D MSB of the destination DSN
DESTDSN2 0x69 0x1E Byte 2 of the destination DSN
DESTDSN1 0x6A 0x1F Byte 1 of the destination DSN
DESTDSN0 0x6B 0x20 LSB of the destination DSN
Figure 67: HumPRO-A
TM
Series Destination DSN Registers
HumPRO-A
TM
Series User ID Mask Registers
Name
Volatile
Address
Non-Volatile
Address
Description
UMASK3 0x62 0x17 MSB of the extended mask
UMASK2 0x63 0x18 Byte 2 of the extended mask
UMASK1 0x64 0x19
Byte 1 of the extended mask
MSB of the short mask
UMASK0 0x65 0x1A LSB of the extended mask and short mask