
Memory Map and Registers
The address of a register is the sum of a base address and an address offset. The base
address is defined at the MCU level, while the address offset is defined at the module
level. Refer to the specific chip documentation for the definition of the base address. All
memory locations base and offsets are given in hex.
ENC memory map
Absolute
address
(hex)
Register name
Width
(in bits)
Access Reset value
Section/
page
4005_5000 Control Register (ENC_CTRL)
16
R/W
0000h
4005_5002 Input Filter Register (ENC_FILT)
16
R/W
0000h
4005_5004 Watchdog Timeout Register (ENC_WTR)
16
R/W
0000h
4005_5006 Position Difference Counter Register (ENC_POSD)
16
R/W
0000h
4005_5008 Position Difference Hold Register (ENC_POSDH)
16
R
0000h
4005_500A Revolution Counter Register (ENC_REV)
16
R/W
0000h
4005_500C Revolution Hold Register (ENC_REVH)
16
R
0000h
4005_500E Upper Position Counter Register (ENC_UPOS)
16
R/W
0000h
4005_5010 Lower Position Counter Register (ENC_LPOS)
16
R/W
0000h
4005_5012 Upper Position Hold Register (ENC_UPOSH)
16
R
0000h
4005_5014 Lower Position Hold Register (ENC_LPOSH)
16
R
0000h
4005_5016 Upper Initialization Register (ENC_UINIT)
16
R/W
0000h
4005_5018 Lower Initialization Register (ENC_LINIT)
16
R/W
0000h
4005_501A Input Monitor Register (ENC_IMR)
16
R
0000h
4005_501C Test Register (ENC_TST)
16
R/W
0000h
4005_501E Control 2 Register (ENC_CTRL2)
16
R/W
0000h
4005_5020 Upper Modulus Register (ENC_UMOD)
16
R/W
0000h
4005_5022 Lower Modulus Register (ENC_LMOD)
16
R/W
0000h
4005_5024 Upper Position Compare Register (ENC_UCOMP)
16
R/W
FFFFh
4005_5026 Lower Position Compare Register (ENC_LCOMP)
16
R/W
FFFFh
41.4
Memory Map and Registers
KV4x Reference Manual, Rev. 2, 02/2015
1046
Preliminary
Freescale Semiconductor, Inc.
Summary of Contents for freescale KV4 Series
Page 2: ...KV4x Reference Manual Rev 2 02 2015 2 Preliminary Freescale Semiconductor Inc...
Page 60: ...KV4x Reference Manual Rev 2 02 2015 60 Preliminary Freescale Semiconductor Inc...
Page 128: ...Debug Security KV4x Reference Manual Rev 2 02 2015 128 Preliminary Freescale Semiconductor Inc...
Page 138: ...Boot KV4x Reference Manual Rev 2 02 2015 138 Preliminary Freescale Semiconductor Inc...
Page 1358: ...KV4x Reference Manual Rev 2 02 2015 1358 Preliminary Freescale Semiconductor Inc...