Skip to main content

Module parser

Module parser 

Source
Expand description

Low-level parsing of EVT 3.0 raw 16-bit words.

This module provides functions to extract fields from each event type using bitwise operations according to the EVT 3.0 specification.

Functionsยง

addr_x_get_polarity
Extracts the polarity from an EVT_ADDR_X word.
addr_x_get_x
Extracts the X coordinate from an EVT_ADDR_X word.
addr_y_get_system_type
Extracts the system type (master/slave) from an EVT_ADDR_Y word.
addr_y_get_y
Extracts the Y coordinate from an EVT_ADDR_Y word.
ext_trigger_get_id
Extracts the trigger channel ID from an EXT_TRIGGER word.
ext_trigger_get_value
Extracts the trigger value (edge polarity) from an EXT_TRIGGER word.
get_event_type
Extracts the 4-bit event type from a 16-bit word.
get_payload
Extracts the 12-bit payload from a 16-bit word.
parse_event_type
Parses the event type from a 16-bit word.
time_get_value
Extracts the 12-bit time value from a TIME_LOW or TIME_HIGH word.
vect_8_get_valid
Extracts the 8-bit validity mask from a VECT_8 word.
vect_12_get_valid
Extracts the 12-bit validity mask from a VECT_12 word.
vect_base_x_get_polarity
Extracts the polarity from a VECT_BASE_X word.
vect_base_x_get_x
Extracts the base X coordinate from a VECT_BASE_X word.