Documentation
¶
Index ¶
- Constants
- type A2L
- type Characteristic
- type DependentCharacteristic
- type DisplayIdentifier
- type Formula
- type FunctionList
- type GuardRails
- type IfData
- type LeftShift
- type MapList
- type MaxGrad
- type MaxRefresh
- type Monotony
- type Number
- type Project
- type RightShift
- type SignExtendKeyword
- type StepSize
- type VirtualCharacteristic
Constants ¶
View Source
const ( UTF8 encodingEnum = "UTF8" UTF16 encodingEnum = "UTF16" UTF32 encodingEnum = "UTF32" )
View Source
const ( UBYTE dataTypeEnum = ubyteToken SBYTE dataTypeEnum = sbyteToken UWORD dataTypeEnum = uwordToken SWORD dataTypeEnum = swordToken ULONG dataTypeEnum = ulongToken SLONG dataTypeEnum = slongToken )
View Source
const ( BYTE dataSizeEnum = byteToken WORD dataSizeEnum = wordToken LONG dataSizeEnum = longToken )
View Source
const ( PBYTE addrTypeEnum = pbyteToken PWORD addrTypeEnum = pwordToken PLONG addrTypeEnum = plongToken /*DIRECT: If an adjustable or measurable object is defined with indirect addressing (ADDRESS_TYPE is not DIRECT) and if the used interface does not support indirect addressing, it is the responsibility of the MC-System to dereference the object’s address before accessing the data or configuring measurement lists.*/ DIRECT addrTypeEnum = directToken )
View Source
const ( INTERN attributeEnum = internToken EXTERN attributeEnum = externToken )
View Source
const ( Ascii typeEnum = asciiToken Curve typeEnum = curveToken Map typeEnum = mapToken Cuboid typeEnum = cuboidToken ValBlk typeEnum = valBlkToken Value typeEnum = valueToken )
View Source
const ( Identical conversionTypeEnum = identicalToken Form conversionTypeEnum = formToken Linear conversionTypeEnum = linearToken RatFunc conversionTypeEnum = ratFuncToken TabIntp conversionTypeEnum = tabIntpToken TabNointp conversionTypeEnum = tabNointpToken TabVerb conversionTypeEnum = tabVerbToken )
View Source
const ( ColumnDir indexModeEnum = columnDirToken RowDir indexModeEnum = rowDirToken )
View Source
const ( Absolute modeEnum = absoluteToken Difference modeEnum = differenceToken )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type A2L ¶
type A2L struct {
Asap2Version asap2Version
A2mlVersion a2mlVersion
Project Project
}
A2L is the main struct returned by the a2l package. it contains all datatypes parsed from the .a2l file
func ParseFromFile ¶
ParseFromFile is the main exported function to be called from a2l package. it takes an .a2l file and parses it
type Characteristic ¶
type DependentCharacteristic ¶
type DependentCharacteristic struct {
// contains filtered or unexported fields
}
type DisplayIdentifier ¶
type DisplayIdentifier struct {
// contains filtered or unexported fields
}
type FunctionList ¶
type FunctionList struct {
// contains filtered or unexported fields
}
type GuardRails ¶
type GuardRails struct {
// contains filtered or unexported fields
}
type MaxRefresh ¶
type MaxRefresh struct {
// contains filtered or unexported fields
}
type Project ¶
type Project struct {
Name string
Modules []module
// contains filtered or unexported fields
}
type RightShift ¶
type RightShift struct {
// contains filtered or unexported fields
}
type SignExtendKeyword ¶ added in v0.9.3
type SignExtendKeyword struct {
// contains filtered or unexported fields
}
type VirtualCharacteristic ¶
type VirtualCharacteristic struct {
// contains filtered or unexported fields
}
Source Files
¶
- a2l.go
- a2ml.go
- a2ml_version.go
- addr_epk.go
- alignment_byte.go
- alignment_float16_ieee.go
- alignment_float32_ieee.go
- alignment_float64_ieee.go
- alignment_int64.go
- alignment_long.go
- alignment_word.go
- annotation.go
- annotation_label.go
- annotation_origin.go
- annotation_text.go
- ar_component.go
- ar_prototype_of.go
- array_size.go
- asap2_version.go
- axis_descr.go
- axis_pts.go
- axis_pts_4.go
- axis_pts_5.go
- axis_pts_ref.go
- axis_pts_x.go
- axis_pts_y.go
- axis_pts_z.go
- axis_rescale_x.go
- bit_mask.go
- bit_operation.go
- blob.go
- byte_order.go
- calibration_handle.go
- calibration_handle_text.go
- calibration_method.go
- characteristic.go
- coeffs.go
- coeffs_linear.go
- comparison_quantity.go
- compu_method.go
- compu_tab.go
- compu_tab_ref.go
- compu_vtab.go
- compu_vtab_range.go
- consistent_exchange.go
- cpu_type.go
- curve_axis_ref.go
- customer.go
- customer_no.go
- data_size.go
- def_characteristic.go
- default_value.go
- default_value_numeric.go
- dependent_characteristic.go
- deposit.go
- discrete.go
- display_identifier.go
- dist_op_4.go
- dist_op_5.go
- dist_op_x.go
- dist_op_y.go
- dist_op_z.go
- ecu.go
- ecu_address.go
- ecu_address_extension.go
- ecu_calibration_offset.go
- enums.go
- epk.go
- error_mask.go
- extended_limits.go
- fix_axis_par.go
- fix_axis_par_dist.go
- fix_axis_par_list.go
- fix_no_axis_pts_4.go
- fix_no_axis_pts_5.go
- fix_no_axis_pts_x.go
- fix_no_axis_pts_y.go
- fix_no_axis_pts_z.go
- fnc_values.go
- format.go
- formula.go
- formula_inv.go
- frame.go
- frame_measurement.go
- function.go
- function_list.go
- function_version.go
- group.go
- guard_rails.go
- header.go
- identification.go
- if_data.go
- in_measurement.go
- instance.go
- layout.go
- left_shift.go
- limits.go
- loc_measurement.go
- map_list.go
- matrix_dim.go
- max_grad.go
- max_refresh.go
- measurement.go
- memory_layout.go
- memory_segment.go
- mod_common.go
- mod_par.go
- modelLink.go
- module.go
- monotony.go
- no_axis_pts_4.go
- no_axis_pts_5.go
- no_axis_pts_x.go
- no_axis_pts_y.go
- no_axis_pts_z.go
- no_of_interfaces.go
- no_rescale_4.go
- no_rescale_5.go
- no_rescale_x.go
- no_rescale_y.go
- no_rescale_z.go
- number.go
- offset_4.go
- offset_5.go
- offset_x.go
- offset_y.go
- offset_z.go
- out_measurement.go
- overwrite.go
- phone_no.go
- phys_unit.go
- project.go
- project_no.go
- read_only.go
- read_write.go
- record_layout.go
- ref_characteristic.go
- ref_group.go
- ref_measurement.go
- ref_memory_segment.go
- ref_unit.go
- reserved.go
- right_shift.go
- rip_addr_4.go
- rip_addr_5.go
- rip_addr_w.go
- rip_addr_x.go
- rip_addr_y.go
- rip_addr_z.go
- root.go
- shift_op_4.go
- shift_op_5.go
- shift_op_x.go
- shift_op_y.go
- shift_op_z.go
- si_exponents.go
- sign_extend.go
- src_addr_4.go
- src_addr_5.go
- src_addr_x.go
- src_addr_y.go
- src_addr_z.go
- static_address_offsets.go
- static_record_layout.go
- status_string_ref.go
- step_size.go
- structure_component.go
- sub_function.go
- sub_group.go
- supplier.go
- symbol_link.go
- symbol_type_link.go
- system_constant.go
- token_generator.go
- tokens.go
- transformer.go
- transformer_in_object.go
- transformer_out_object.go
- type_def_axis.go
- type_def_blob.go
- type_def_characteristic.go
- type_def_measurement.go
- type_def_structure.go
- unit.go
- unit_conversion.go
- user.go
- user_rights.go
- var_address.go
- var_characteristic.go
- var_criterion.go
- var_forbidden_comb.go
- var_measurement.go
- var_naming.go
- var_selection_characteristic.go
- var_separator.go
- variant_coding.go
- version.go
- virtual.go
- virtual_characteristic.go
Click to show internal directories.
Click to hide internal directories.