E sphinx.addnodesdocument)}( rawsource children](translations
LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba
attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget-/translations/zh_CN/input/devices/cma3000_d0xmodnameN classnameNrefexplicitutagnamehhhubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget-/translations/zh_TW/input/devices/cma3000_d0xmodnameN classnameNrefexplicituh1hhhubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget-/translations/it_IT/input/devices/cma3000_d0xmodnameN classnameNrefexplicituh1hhhubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget-/translations/ja_JP/input/devices/cma3000_d0xmodnameN classnameNrefexplicituh1hhhubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget-/translations/ko_KR/input/devices/cma3000_d0xmodnameN classnameNrefexplicituh1hhhubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget-/translations/sp_SP/input/devices/cma3000_d0xmodnameN classnameNrefexplicituh1hhhubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h
hh _documenthsourceNlineNubhsection)}(hhh](htitle)}(hCMA3000-D0x Accelerometerh]hCMA3000-D0x Accelerometer}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhG/var/lib/git/docbuild/linux/Documentation/input/devices/cma3000_d0x.rsthKubh paragraph)}(h"Supported chips:
* VTI CMA3000-D0xh]h"Supported chips:
* VTI CMA3000-D0x}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubhdefinition_list)}(hhh]hdefinition_list_item)}(h\Datasheet:
CMA3000-D0X Product Family Specification 8281000A.02.pdf
h](hterm)}(h
Datasheet:h]h
Datasheet:}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hhubh
definition)}(hhh]h)}(hPCMA3000-D0X Product Family Specification 8281000A.02.pdf
h](h:CMA3000-D0X Product Family Specification 8281000A.02.pdf
<}(hhhhhNhNubh reference)}(hhttp://www.vti.fi/en/h]hhttp://www.vti.fi/en/}(hhhhhNhNubah}(h]h ]h"]h$]h&]refurihuh1hhhubh>}(hhhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhhubah}(h]h ]h"]h$]h&]uh1hhhubeh}(h]h ]h"]h$]h&]uh1hhhhK hhubah}(h]h ]h"]h$]h&]uh1hhhhhhhhNubh
field_list)}(hhh]hfield)}(hhh](h
field_name)}(hAuthorh]hAuthor}(hj( hhhNhNubah}(h]h ]h"]h$]h&]uh1j& hj# hhhK ubh
field_body)}(hHemanth V
h]h)}(hHemanth V h](hHemanth V <}(hj< hhhNhNubh)}(hhemanthv@ti.comh]hhemanthv@ti.com}(hjD hhhNhNubah}(h]h ]h"]h$]h&]refurimailto:hemanthv@ti.comuh1hhj< ubh>}(hj< hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj8 ubah}(h]h ]h"]h$]h&]uh1j6 hj# ubeh}(h]h ]h"]h$]h&]uh1j! hhhKhj hhubah}(h]h ]h"]h$]h&]uh1j hhhhhhhKubh)}(hhh](h)}(hDescriptionh]hDescription}(hjs hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjp hhhhhKubh)}(hWCMA3000 Tri-axis accelerometer supports Motion detect, Measurement and
Free fall modes.h]hWCMA3000 Tri-axis accelerometer supports Motion detect, Measurement and
Free fall modes.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjp hhubh)}(hhh](h)}(h{Motion Detect Mode:
Its the low power mode where interrupts are generated only
when motion exceeds the defined thresholds.
h](h)}(hMotion Detect Mode:h]hMotion Detect Mode:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubh)}(hhh]h)}(hfIts the low power mode where interrupts are generated only
when motion exceeds the defined thresholds.h]hfIts the low power mode where interrupts are generated only
when motion exceeds the defined thresholds.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1hhj ubeh}(h]h ]h"]h$]h&]uh1hhhhKhj ubh)}(hMeasurement Mode:
This mode is used to read the acceleration data on X,Y,Z
axis and supports 400, 100, 40 Hz sample frequency.
h](h)}(hMeasurement Mode:h]hMeasurement Mode:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubh)}(hhh]h)}(hlThis mode is used to read the acceleration data on X,Y,Z
axis and supports 400, 100, 40 Hz sample frequency.h]hlThis mode is used to read the acceleration data on X,Y,Z
axis and supports 400, 100, 40 Hz sample frequency.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1hhj ubeh}(h]h ]h"]h$]h&]uh1hhhhKhj hhubh)}(h@Free fall Mode:
This mode is intended to save system resources.
h](h)}(hFree fall Mode:h]hFree fall Mode:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubh)}(hhh]h)}(h/This mode is intended to save system resources.h]h/This mode is intended to save system resources.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1hhj ubeh}(h]h ]h"]h$]h&]uh1hhhhKhj hhubh)}(hThreshold values:
Chip supports defining threshold values for above modes
which includes time and g value. Refer product specifications for
more details.
h](h)}(hThreshold values:h]hThreshold values:}(hj# hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK"hj ubh)}(hhh]h)}(hChip supports defining threshold values for above modes
which includes time and g value. Refer product specifications for
more details.h]hChip supports defining threshold values for above modes
which includes time and g value. Refer product specifications for
more details.}(hj4 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hj1 ubah}(h]h ]h"]h$]h&]uh1hhj ubeh}(h]h ]h"]h$]h&]uh1hhhhK"hj hhubeh}(h]h ]h"]h$]h&]uh1hhjp hhhhhNubh)}(hX CMA3000 chip supports mutually exclusive I2C and SPI interfaces for
communication, currently the driver supports I2C based communication only.
Initial configuration for bus mode is set in non volatile memory and can later
be modified through bus interface command.h]hX CMA3000 chip supports mutually exclusive I2C and SPI interfaces for
communication, currently the driver supports I2C based communication only.
Initial configuration for bus mode is set in non volatile memory and can later
be modified through bus interface command.}(hjT hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK$hjp hhubh)}(h~Driver reports acceleration data through input subsystem. It generates ABS_MISC
event with value 1 when free fall is detected.h]h~Driver reports acceleration data through input subsystem. It generates ABS_MISC
event with value 1 when free fall is detected.}(hjb hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK)hjp hhubh)}(h?Platform data need to be configured for initial default values.h]h?Platform data need to be configured for initial default values.}(hjp hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK,hjp hhubeh}(h]descriptionah ]h"]descriptionah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h
Platform Datah]h
Platform Data}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hhhhhK/ubh)}(hhh](h)}(hfuzz_x:
Noise on X Axis
h](h)}(hfuzz_x:h]hfuzz_x:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK2hj ubh)}(hhh]h)}(hNoise on X Axish]hNoise on X Axis}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK2hj ubah}(h]h ]h"]h$]h&]uh1hhj ubeh}(h]h ]h"]h$]h&]uh1hhhhK2hj ubh)}(hfuzz_y:
Noise on Y Axis
h](h)}(hfuzz_y:h]hfuzz_y:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK5hj ubh)}(hhh]h)}(hNoise on Y Axish]hNoise on Y Axis}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK5hj ubah}(h]h ]h"]h$]h&]uh1hhj ubeh}(h]h ]h"]h$]h&]uh1hhhhK5hj hhubh)}(hfuzz_z:
Noise on Z Axis
h](h)}(hfuzz_z:h]hfuzz_z:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK8hj ubh)}(hhh]h)}(hNoise on Z Axish]hNoise on Z Axis}(hj
hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK8hj
ubah}(h]h ]h"]h$]h&]uh1hhj ubeh}(h]h ]h"]h$]h&]uh1hhhhK8hj hhubh)}(h-g_range:
G range in milli g i.e 2000 or 8000
h](h)}(hg_range:h]hg_range:}(hj+ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK;hj' ubh)}(hhh]h)}(h#G range in milli g i.e 2000 or 8000h]h#G range in milli g i.e 2000 or 8000}(hj< hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK;hj9 ubah}(h]h ]h"]h$]h&]uh1hhj' ubeh}(h]h ]h"]h$]h&]uh1hhhhK;hj hhubh)}(hmode:
Default Operating mode
h](h)}(hmode:h]hmode:}(hjZ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK>hjV ubh)}(hhh]h)}(hDefault Operating modeh]hDefault Operating mode}(hjk hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK>hjh ubah}(h]h ]h"]h$]h&]uh1hhjV ubeh}(h]h ]h"]h$]h&]uh1hhhhK>hj hhubh)}(h-mdthr:
Motion detect g range threshold value
h](h)}(hmdthr:h]hmdthr:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKAhj ubh)}(hhh]h)}(h%Motion detect g range threshold valueh]h%Motion detect g range threshold value}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKAhj ubah}(h]h ]h"]h$]h&]uh1hhj ubeh}(h]h ]h"]h$]h&]uh1hhhhKAhj hhubh)}(h:mdfftmr:
Motion detect and free fall time threshold value
h](h)}(hmdfftmr:h]hmdfftmr:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKDhj ubh)}(hhh]h)}(h0Motion detect and free fall time threshold valueh]h0Motion detect and free fall time threshold value}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKDhj ubah}(h]h ]h"]h$]h&]uh1hhj ubeh}(h]h ]h"]h$]h&]uh1hhhhKDhj hhubh)}(h)ffthr:
Free fall g range threshold value
h](h)}(hffthr:h]hffthr:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKGhj ubh)}(hhh]h)}(h!Free fall g range threshold valueh]h!Free fall g range threshold value}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKGhj ubah}(h]h ]h"]h$]h&]uh1hhj ubeh}(h]h ]h"]h$]h&]uh1hhhhKGhj hhubeh}(h]h ]h"]h$]h&]uh1hhj hhhhhNubeh}(h]
platform-dataah ]h"]
platform dataah$]h&]uh1hhhhhhhhK/ubh)}(hhh](h)}(hInput Interfaceh]hInput Interface}(hj# hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hhhhhKJubh)}(hInput driver version is 1.0.0
Input device ID: bus 0x18 vendor 0x0 product 0x0 version 0x0
Input device name: "cma3000-accelerometer"h]hInput driver version is 1.0.0
Input device ID: bus 0x18 vendor 0x0 product 0x0 version 0x0
Input device name: “cma3000-accelerometer”}(hj1 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKLhj hhubh)}(hSupported events::h]hSupported events:}(hj? hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKPhj hhubh
literal_block)}(hX Event type 0 (Sync)
Event type 3 (Absolute)
Event code 0 (X)
Value 47
Min -8000
Max 8000
Fuzz 200
Event code 1 (Y)
Value -28
Min -8000
Max 8000
Fuzz 200
Event code 2 (Z)
Value 905
Min -8000
Max 8000
Fuzz 200
Event code 40 (Misc)
Value 0
Min 0
Max 1
Event type 4 (Misc)h]hX Event type 0 (Sync)
Event type 3 (Absolute)
Event code 0 (X)
Value 47
Min -8000
Max 8000
Fuzz 200
Event code 1 (Y)
Value -28
Min -8000
Max 8000
Fuzz 200
Event code 2 (Z)
Value 905
Min -8000
Max 8000
Fuzz 200
Event code 40 (Misc)
Value 0
Min 0
Max 1
Event type 4 (Misc)}hjO sbah}(h]h ]h"]h$]h&] xml:spacepreserveuh1jM hhhKRhj hhubeh}(h]input-interfaceah ]h"]input interfaceah$]h&]uh1hhhhhhhhKJubh)}(hhh](h)}(h(Register/Platform parameters Descriptionh]h(Register/Platform parameters Description}(hjj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjg hhhhhKkubh)}(hmode::h]hmode:}(hjx hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKmhjg hhubjN )}(h0: power down mode
1: 100 Hz Measurement mode
2: 400 Hz Measurement mode
3: 40 Hz Measurement mode
4: Motion Detect mode (default)
5: 100 Hz Free fall mode
6: 40 Hz Free fall mode
7: Power off modeh]h0: power down mode
1: 100 Hz Measurement mode
2: 400 Hz Measurement mode
3: 40 Hz Measurement mode
4: Motion Detect mode (default)
5: 100 Hz Free fall mode
6: 40 Hz Free fall mode
7: Power off mode}hj sbah}(h]h ]h"]h$]h&]j] j^ uh1jM hhhKohjg hhubh)}(hgrange::h]hgrange:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKxhjg hhubjN )}(h32000: 2000 mg or 2G Range
8000: 8000 mg or 8G Rangeh]h32000: 2000 mg or 2G Range
8000: 8000 mg or 8G Range}hj sbah}(h]h ]h"]h$]h&]j] j^ uh1jM hhhKzhjg hhubh)}(hmdthr::h]hmdthr:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK}hjg hhubjN )}(h-X: X * 71mg (8G Range)
X: X * 18mg (2G Range)h]h-X: X * 71mg (8G Range)
X: X * 18mg (2G Range)}hj sbah}(h]h ]h"]h$]h&]j] j^ uh1jM hhhKhjg hhubh)}(h mdfftmr::h]hmdfftmr:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjg hhubjN )}(hjX: (X & 0x70) * 100 ms (MDTMR)
(X & 0x0F) * 2.5 ms (FFTMR 400 Hz)
(X & 0x0F) * 10 ms (FFTMR 100 Hz)h]hjX: (X & 0x70) * 100 ms (MDTMR)
(X & 0x0F) * 2.5 ms (FFTMR 400 Hz)
(X & 0x0F) * 10 ms (FFTMR 100 Hz)}hj sbah}(h]h ]h"]h$]h&]j] j^ uh1jM hhhKhjg hhubh)}(hffthr::h]hffthr:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjg hhubjN )}(h>X: (X >> 2) * 18mg (2G Range)
X: (X & 0x0F) * 71 mg (8G Range)h]h>X: (X >> 2) * 18mg (2G Range)
X: (X & 0x0F) * 71 mg (8G Range)}hj sbah}(h]h ]h"]h$]h&]j] j^ uh1jM hhhKhjg hhubeh}(h](register-platform-parameters-descriptionah ]h"](register/platform parameters descriptionah$]h&]uh1hhhhhhhhKkubeh}(h]cma3000-d0x-accelerometerah ]h"]cma3000-d0x accelerometerah$]h&]uh1hhhhhhhhKubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceNcurrent_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampNsource_linkN
source_urlN
toc_backlinksentryfootnote_backlinksK
sectnum_xformKstrip_commentsNstrip_elements_with_classesN
strip_classesNreport_levelK
halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerj7 error_encodingutf-8error_encoding_error_handlerbackslashreplace
language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid
dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourceh_destinationN
_config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabledraw_enabledKline_length_limitM'pep_referencesNpep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesNrfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlongsmart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform
docinfo_xformKsectsubtitle_xform
image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}nameids}(j j j j j j jd ja j j u nametypes}(j j j jd j uh}(j hj jp j j ja j j jg u
footnote_refs}
citation_refs}
autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK
id_countercollectionsCounter}Rparse_messages]transform_messages]transformerNinclude_log]
decorationNhhub.