AFR (CAN) Register

Zynq UltraScale+ Devices Register Reference (UG1087)

Document ID
UG1087
Release Date
2024-03-13
Revision
1.10

AFR (CAN) Register Description

Register NameAFR
Offset Address0x0000000060
Absolute Address 0x00FF060060 (CAN0)
0x00FF070060 (CAN1)
Width32
TyperwNormal read/write
Reset Value0x00000000
DescriptionAcceptance Filter Enables.

The Acceptance Filter Register (AFR) defines which acceptance filters to use. Each Acceptance Filter ID Register (AFIR) and Acceptance Filter Mask Register (AFMR) pair is associated with a UAF bit. When the UAF bit is 1, the corresponding acceptance filter pair is used for acceptance filtering. When the UAF bit is 0, the corresponding acceptance filter pair is not used for acceptance filtering. To modify an acceptance filter pair in Normal mode, the corresponding UAF bit in this register must be set to 0. After the acceptance filter is modified, the corresponding UAF bit must be set to 1. The following conditions govern the number of UAF bits that can exist in the. * If all UAF bits are set to 0, then all received messages are stored in the RX FIFO * If the UAF bits are changed from a 1 to 0 during reception of a CAN message, the message may not be stored in the RX FIFO.

AFR (CAN) Register Bit-Field Summary

Field NameBitsTypeReset ValueDescription
Reserved31:4rwNormal read/write0x0reserved
UAF4 3rwNormal read/write0x0Use Acceptance Filter Number 4
Enables the use of acceptance filter pair 4.
1: Indicates Acceptance Filter Mask Register 4 and Acceptance Filter ID Register 4 are used for acceptance filtering.
0: Indicates Acceptance Filter Mask Register 4 and Acceptance Filter ID Register 4 are not used for acceptance filtering.
UAF3 2rwNormal read/write0x0Use Acceptance Filter Number 3
Enables the use of acceptance filter pair 3.
1: Indicates Acceptance Filter Mask Register 3 and Acceptance Filter ID Register 3 are used for acceptance filtering.
0: Indicates Acceptance Filter Mask Register 3 and Acceptance Filter ID Register 3 are not used for acceptance filtering.
UAF2 1rwNormal read/write0x0Use Acceptance Filter Number 2
Enables the use of acceptance filter pair 2.
1: Indicates Acceptance Filter Mask Register 2 and Acceptance Filter ID Register 2 are used for acceptance filtering.
0: Indicates Acceptance Filter Mask Register 2 and Acceptance Filter ID Register 2 are not used for acceptance filtering.
UAF1 0rwNormal read/write0x0Use Acceptance Filter Number 1.
Enables the use of acceptance filter pair 1.
1: Indicates Acceptance Filter Mask Register 1 and Acceptance Filter ID Register 1 are used for acceptance filtering.
0: Indicates Acceptance Filter Mask Register 1 and Acceptance Filter ID Register 1 are not used for acceptance filtering.