package socketcan
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module Socketcan.Mask
CAN identifier masks for use with filters.
val create_sff : int -> tCreate a valid CAN 2.0A standard frame format mask with 11 bit from an integer value. Masks all bits that are not in sff_mask.
val create_eff : int -> tCreate a valid CAN 2.0B extended frame format mask with 29 bit from an integer value. Masks all bits that are not in eff_mask.
val to_int : t -> intGet the mask value as integer.
val sff : tThis is the bitmask for a standard frame format CAN identifier with 11 bit.
val eff : tThis is the bitmask of an extended frame format CAN identifier with 29 bit.