module documentation

DCC RailCom PIO module

This module contains the functions and classes for low level RailCom datagram reading. It's applicable for block occupancy detection on Channel 1 and central dcc command decoder responses on Channel 2.

The module makes use of the RP2xx0 PIO. It uses two PIO state machines. The first times the channel window within the cut-out. The second deserialises RailCom data received during the relevant channel window. On the command station different PIO block is used for DCC signal encoding.

For block detection a single PIO block can run two detectors.

Author
Paul Redhead
Class RailComRead The RailCom Reader class
Constant _PIO_CU_D_FREQ Undocumented
Constant _PIO_CU_FREQ Undocumented
Constant _PIO_RX_FREQ Undocumented
_PIO_CU_D_FREQ =

Undocumented

Value
const(500000)
_PIO_CU_FREQ =

Undocumented

Value
const(250000)
_PIO_RX_FREQ =

Undocumented

Value
const(4000000)