#[repr(u8)]pub enum MergModuleType {
Show 91 variants
SLIM = 0,
CANACC4 = 1,
CANACC5 = 2,
CANACC8 = 3,
CANACE3 = 4,
CANACE8C = 5,
CANLED = 6,
CANLED64 = 7,
CANACC4_2 = 8,
CANCAB = 9,
CANCMD = 10,
CANSERVO = 11,
CANBC = 12,
CANRPI = 13,
CANTTCA = 14,
CANTTCB = 15,
CANHS = 16,
CANTOTI = 17,
CAN8I8O = 18,
CANSERVO8C = 19,
CANRFID = 20,
CANTC4 = 21,
CANACE16C = 22,
CANIO8 = 23,
CANSNDX = 24,
CANEther = 25,
CANSIG64 = 26,
CANSIG8 = 27,
CANCOND8C = 28,
CANPAN = 29,
CANACE3C = 30,
CANPanel = 31,
CANMIO = 32,
CANACE8MIO = 33,
CANSOL = 34,
CANBIP = 35,
CANCDU = 36,
CANACC4CDU = 37,
CANWiBase = 38,
WiCAB = 39,
CANWiFi = 40,
CANFTT = 41,
CANHNDST = 42,
CANTCHNDST = 43,
CANRFID8 = 44,
CANmchRFID = 45,
CANPiWi = 46,
CAN4DC = 47,
CANELEV = 48,
CANSCAN = 49,
CANMIO_SVO = 50,
CANMIO_INP = 51,
CANMIO_OUT = 52,
CANBIP_OUT = 53,
CANASTOP = 54,
CANCSB = 55,
CANMAG = 56,
CANACE16CMIO = 57,
CANPiNODE = 58,
CANDISP = 59,
CANCOMPUTE = 60,
CANRC522 = 61,
CANINP = 62,
CANOUT = 63,
CANXIO = 64,
CANCABDC = 65,
CANRCOM = 66,
CANMP3 = 67,
CANXMAS = 68,
CANSVOSET = 69,
CANCMDDC = 70,
CANTEXT = 71,
CANASIGNAL = 72,
CANSLIDER = 73,
CANDCATC = 74,
CANGATE = 75,
CANSINP = 76,
CANSOUT = 77,
CANSBIP = 78,
CANBUFFER = 79,
CANLEVER = 80,
CANSHIELD = 81,
CAN4IN4OUT = 82,
CANCMDB = 83,
CANPIXEL = 84,
CANCABPE = 85,
CANSMARTTD = 86,
VLCB = 252,
CAN_SW = 255,
EMPTY = 254,
CANUSB = 253,
}Expand description
MERG Module types
Variants§
SLIM = 0
default for SLiM nodes
CANACC4 = 1
Solenoid point driver
CANACC5 = 2
Motorised point driver
CANACC8 = 3
8 digital outputs
CANACE3 = 4
Control panel switch/button encoder
CANACE8C = 5
8 digital inputs
CANLED = 6
64 led driver
CANLED64 = 7
64 led driver (multi leds per event)
CANACC4_2 = 8
12v version of CANACC4
CANCAB = 9
CANCAB hand throttle
CANCMD = 10
CANCMD command station
CANSERVO = 11
8 servo driver (on canacc8 or similar hardware)
CANBC = 12
BC1a command station
CANRPI = 13
RPI and RFID interface
CANTTCA = 14
Turntable controller (turntable end)
CANTTCB = 15
Turntable controller (control panel end)
CANHS = 16
Handset controller for old BC1a type handsets
CANTOTI = 17
Track occupancy detector
CAN8I8O = 18
8 inputs 8 outputs
CANSERVO8C = 19
Canservo with servo position feedback
CANRFID = 20
RFID input
CANTC4 = 21
CANACE16C = 22
16 inputs
CANIO8 = 23
8 way I/O
CANSNDX = 24
CANEther = 25
Ethernet interface
CANSIG64 = 26
Multiple aspect signalling for CANLED module
CANSIG8 = 27
Multiple aspect signalling for CANACC8 module
CANCOND8C = 28
Conditional event generation
CANPAN = 29
Control panel 32/32
CANACE3C = 30
Newer version of CANACE3 firmware
CANPanel = 31
Control panel 64/64
CANMIO = 32
Multiple I/O – Universal CANMIO firmware
CANACE8MIO = 33
Multiple IO module 16 inputs emulating CANACE8C on CANMIO hardware
CANSOL = 34
Solenoid driver module
CANBIP = 35
Universal CANBIP firmware - Bipolar IO module with additional 8 I/O pins (CANMIO family)
CANCDU = 36
Solenoid driver module with additional 6 I/O pins (CANMIO family)
CANACC4CDU = 37
CANACC4 firmware ported to CANCDU
CANWiBase = 38
CAN to MiWi base station
WiCAB = 39
Wireless cab using MiWi protocol
CANWiFi = 40
CAN to WiFi connection with Withrottle to CBUS protocol conversion
CANFTT = 41
Turntable controller configured using FLiM
CANHNDST = 42
Handset (alternative to CANCAB)
CANTCHNDST = 43
Touchscreen handset
CANRFID8 = 44
multi-channel RFID reader
CANmchRFID = 45
either a 2ch or 8ch RFID reader
CANPiWi = 46
a Raspberry Pi based module for WiFi
CAN4DC = 47
DC train controller
CANELEV = 48
Nelevator controller
CANSCAN = 49
128 switch inputs
CANMIO_SVO = 50
16MHz 25k80 version of CANSERVO8c on CANMIO hardware
CANMIO_INP = 51
16MHz 25k80 version of CANACE8MIO on CANMIO hardware
CANMIO_OUT = 52
16MHz 25k80 version of CANACC8 on CANMIO hardware
CANBIP_OUT = 53
16MHz 25k80 version of CANACC5 on CANBIP hardware
CANASTOP = 54
DCC stop generator
CANCSB = 55
CANCMD with on board 3A booster
CANMAG = 56
Magnet on Track detector
CANACE16CMIO = 57
16 input equivaent to CANACE8C
CANPiNODE = 58
CBUS module based on Raspberry Pi
CANDISP = 59
25K80 version of CANLED64 (IHart and MB)
CANCOMPUTE = 60
Compute Event processing engine
CANRC522 = 61
Read/Write from/to RC522 RFID tags
CANINP = 62
8 inputs module (2g version of CANACE8c) (Pete Brownlow)
CANOUT = 63
8 outputs module (2g version of CANACC8) (Pete Brownlow)
CANXIO = 64
Extended CANMIO (24 I/O ports) (Pete Brownlow)
CANCABDC = 65
DC cab
CANRCOM = 66
DC Railcom detector/reader
CANMP3 = 67
MP3 sound player in response to events (eg: station announcements) (Duncan Greenwood)
CANXMAS = 68
Addressed RGB LED driver (Duncan Greenwood)
CANSVOSET = 69
Servo setting box (Duncan Greenwood)
CANCMDDC = 70
DC Command station
CANTEXT = 71
Text message display
CANASIGNAL = 72
Signal controller
CANSLIDER = 73
DCC cab with slider control (Dave Radcliffe)
CANDCATC = 74
DC ATC module (Dave Harris)
CANGATE = 75
Logic module using and/or gates (Phil Silver)
CANSINP = 76
Q series PIC input module (Ian Hart)
CANSOUT = 77
Q series PIC input module (Ian Hart)
CANSBIP = 78
Q series PIC input module (Ian Hart)
CANBUFFER = 79
Message buffer (Phil Silver)
CANLEVER = 80
Lever frame module (Tim Coombs)
CANSHIELD = 81
Kit 110 Arduino shield test firmware
CAN4IN4OUT = 82
4 inputs 4 outputs (Arduino module)
CANCMDB = 83
CANCMD with built in booster (Simon West)
CANPIXEL = 84
neopixel driver (Jon Denham)
CANCABPE = 85
Cab2 with pot or encoder (Simon West hardware, Jon Denham new C firmware)
CANSMARTTD = 86
Smart train detector (Michael Smith)
VLCB = 252
All VLCB modules have the same ID
CAN_SW = 255
Software nodes
EMPTY = 254
Empty module, bootloader only
CANUSB = 253
USB interface
Trait Implementations§
Source§impl Clone for MergModuleType
impl Clone for MergModuleType
Source§fn clone(&self) -> MergModuleType
fn clone(&self) -> MergModuleType
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for MergModuleType
Source§impl Debug for MergModuleType
impl Debug for MergModuleType
impl Eq for MergModuleType
Source§impl From<MergModuleType> for u8
impl From<MergModuleType> for u8
Source§fn from(enum_value: MergModuleType) -> Self
fn from(enum_value: MergModuleType) -> Self
Source§impl PartialEq for MergModuleType
impl PartialEq for MergModuleType
Source§fn eq(&self, other: &MergModuleType) -> bool
fn eq(&self, other: &MergModuleType) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MergModuleType
Source§impl TryFrom<u8> for MergModuleType
impl TryFrom<u8> for MergModuleType
Source§type Error = TryFromPrimitiveError<MergModuleType>
type Error = TryFromPrimitiveError<MergModuleType>
Source§impl TryFromPrimitive for MergModuleType
impl TryFromPrimitive for MergModuleType
const NAME: &'static str = "MergModuleType"
type Primitive = u8
type Error = TryFromPrimitiveError<MergModuleType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Source§impl UnsafeFromPrimitive for MergModuleType
impl UnsafeFromPrimitive for MergModuleType
type Primitive = u8
Source§unsafe fn unchecked_transmute_from(number: Self::Primitive) -> Self
unsafe fn unchecked_transmute_from(number: Self::Primitive) -> Self
Source§unsafe fn from_unchecked(number: Self::Primitive) -> Self
unsafe fn from_unchecked(number: Self::Primitive) -> Self
Prefer to use unchecked_transmute_from, from_unchecked will be removed in a future release.