User Manual

D03Rev2.3
6
DMT proprietary & confidential: product information is subject to change without notice.
Domintech Co., Ltd. Tel: +886-2-2290-1288 Fax: +886-2-2290-1266 http://www.domintech.com.tw
User Registers
End users can read sensor outputs, control sensor behaviors and query the interrupt status by
accessing the user registers. DMARD03 provides two digital interfaces, i.e. SPI 4-wire and I2C, for
easy accessing these registers. The registers primarily consist of three categories: data, control and
interrupt status registers. Sensor output values can be read from the data registers. The sensor
behavior can be configured by setting up respective control registers. And lastly when using the
build-in interrupt functions, the interrupt status registers bear state bits detailing interrupt event.
User Register Map
Table 4: User Register Map Table
Register
Address
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
Type
Default
Value
Data Registers
00h Tout[10:3] Read NA
01h Not used Tout[2:0] Read NA
02h Xout[10:3] Read NA
03h Not used Xout[2:0] Read NA
04h Yout[10:3] Read NA
05h Not used Yout[2:0] Read NA
06h Zout[10:3] Read NA
07h Not used Zout[2:0] Read NA
Control Registers
08h I2CFG[1:0] I1CFG[1:0] HGL
Tms
N[1:0] Read/Write
00h
09h HGAO
HGXEn
HGYEn
HGZEn
Not
used
CLXEn
CLYEn
CLZEn
Read/Write
00h
0Ah HGth[3:0] FFth[3:0]
Read/Write
88h
0Bh Not used Clickth[3:0] Read/Write
08h
Interrupt
Status Registers
0Ch FFInt
HGInt
XHGP
XHGN
YHGP
YHGN
ZHGP
ZHGN
Read NA
0Dh
Not
used
CLInt
XCLP
XCLN
YCLP
YCLN
ZCLP
ZCLN
Read NA
Note: SPI register address is 13-bit wide while I2C register address is 8-bit wide. For the same register,
taking address 04h as an example, SPI address should be set as 0000000000100b, and I2C address
should be set as 00000100b.