Esphinx.addnodesdocument)}( rawsourcechildren]( 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 classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget-/translations/zh_TW/input/devices/cma3000_d0xmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget-/translations/it_IT/input/devices/cma3000_d0xmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget-/translations/ja_JP/input/devices/cma3000_d0xmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget-/translations/ko_KR/input/devices/cma3000_d0xmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget-/translations/sp_SP/input/devices/cma3000_d0xmodnameN classnameN refexplicituh1hhh ubeh}(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#hhhKubh field_body)}(hHemanth V h]h)}(hHemanth V h](h Hemanth V <}(hj<hhhNhNubh)}(hhemanthv@ti.comh]hhemanthv@ti.com}(hjDhhhNhNubah}(h]h ]h"]h$]h&]refurimailto:hemanthv@ti.comuh1hhj<ubh>}(hj<hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK hj8ubah}(h]h ]h"]h$]h&]uh1j6hj#ubeh}(h]h ]h"]h$]h&]uh1j!hhhK hjhhubah}(h]h ]h"]h$]h&]uh1jhhhhhhhK ubh)}(hhh](h)}(h Descriptionh]h Description}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphhhhhKubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjphhubh)}(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:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubh)}(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:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(h@Free fall Mode: This mode is intended to save system resources. h](h)}(hFree fall Mode:h]hFree fall Mode:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubh)}(hhh]h)}(h/This mode is intended to save system resources.h]h/This mode is intended to save system resources.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(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"hjubh)}(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.}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hj1ubah}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hhhhK"hjhhubeh}(h]h ]h"]h$]h&]uh1hhjphhhhhNubh)}(hXCMA3000 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]hXCMA3000 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.}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK$hjphhubh)}(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.}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK)hjphhubh)}(h?Platform data need to be configured for initial default values.h]h?Platform data need to be configured for initial default values.}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK,hjphhubeh}(h] descriptionah ]h"] descriptionah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Platform Datah]h Platform Data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhK/ubh)}(hhh](h)}(hfuzz_x: Noise on X Axis h](h)}(hfuzz_x:h]hfuzz_x:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK2hjubh)}(hhh]h)}(hNoise on X Axish]hNoise on X Axis}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK2hjubah}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hhhhK2hjubh)}(hfuzz_y: Noise on Y Axis h](h)}(hfuzz_y:h]hfuzz_y:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK5hjubh)}(hhh]h)}(hNoise on Y Axish]hNoise on Y Axis}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK5hjubah}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hhhhK5hjhhubh)}(hfuzz_z: Noise on Z Axis h](h)}(hfuzz_z:h]hfuzz_z:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK8hjubh)}(hhh]h)}(hNoise on Z Axish]hNoise on Z Axis}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK8hj ubah}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hhhhK8hjhhubh)}(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;hj9ubah}(h]h ]h"]h$]h&]uh1hhj'ubeh}(h]h ]h"]h$]h&]uh1hhhhK;hjhhubh)}(hmode: Default Operating mode h](h)}(hmode:h]hmode:}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK>hjVubh)}(hhh]h)}(hDefault Operating modeh]hDefault Operating mode}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK>hjhubah}(h]h ]h"]h$]h&]uh1hhjVubeh}(h]h ]h"]h$]h&]uh1hhhhK>hjhhubh)}(h-mdthr: Motion detect g range threshold value h](h)}(hmdthr:h]hmdthr:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKAhjubh)}(hhh]h)}(h%Motion detect g range threshold valueh]h%Motion detect g range threshold value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKAhjubah}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hhhhKAhjhhubh)}(h:mdfftmr: Motion detect and free fall time threshold value h](h)}(hmdfftmr:h]hmdfftmr:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKDhjubh)}(hhh]h)}(h0Motion detect and free fall time threshold valueh]h0Motion detect and free fall time threshold value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKDhjubah}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hhhhKDhjhhubh)}(h)ffthr: Free fall g range threshold value h](h)}(hffthr:h]hffthr:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKGhjubh)}(hhh]h)}(h!Free fall g range threshold valueh]h!Free fall g range threshold value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKGhjubah}(h]h ]h"]h$]h&]uh1hhjubeh}(h]h ]h"]h$]h&]uh1hhhhKGhjhhubeh}(h]h ]h"]h$]h&]uh1hhjhhhhhNubeh}(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”}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKLhj hhubh)}(hSupported events::h]hSupported events:}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKPhj hhubh literal_block)}(hXEvent 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]hXEvent 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)}hjOsbah}(h]h ]h"]h$]h&] xml:spacepreserveuh1jMhhhKRhj hhubeh}(h]input-interfaceah ]h"]input interfaceah$]h&]uh1hhhhhhhhKJubh)}(hhh](h)}(h(Register/Platform parameters Descriptionh]h(Register/Platform parameters Description}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjghhhhhKkubh)}(hmode::h]hmode:}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKmhjghhubjN)}(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}hjsbah}(h]h ]h"]h$]h&]j]j^uh1jMhhhKohjghhubh)}(hgrange::h]hgrange:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKxhjghhubjN)}(h32000: 2000 mg or 2G Range 8000: 8000 mg or 8G Rangeh]h32000: 2000 mg or 2G Range 8000: 8000 mg or 8G Range}hjsbah}(h]h ]h"]h$]h&]j]j^uh1jMhhhKzhjghhubh)}(hmdthr::h]hmdthr:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK}hjghhubjN)}(h-X: X * 71mg (8G Range) X: X * 18mg (2G Range)h]h-X: X * 71mg (8G Range) X: X * 18mg (2G Range)}hjsbah}(h]h ]h"]h$]h&]j]j^uh1jMhhhKhjghhubh)}(h mdfftmr::h]hmdfftmr:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjghhubjN)}(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)}hjsbah}(h]h ]h"]h$]h&]j]j^uh1jMhhhKhjghhubh)}(hffthr::h]hffthr:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjghhubjN)}(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)}hjsbah}(h]h ]h"]h$]h&]j]j^uh1jMhhhKhjghhubeh}(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_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksentryfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerj7error_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_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_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}(jjjjjjjdjaj ju nametypes}(jjjjdj uh}(jhjjpjjjaj jjgu footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}Rparse_messages]transform_messages] transformerN include_log] decorationNhhub.