85 lines
2.3 KiB
ReStructuredText
85 lines
2.3 KiB
ReStructuredText
===============
|
|
Python Examples
|
|
===============
|
|
|
|
Transmit CAN frames on DW CAN 01
|
|
=================================
|
|
|
|
:download:`Download example <../../examples/python/can/can_transmit_basic.py>`
|
|
|
|
.. literalinclude:: ../../examples/python/can/can_transmit_basic.py
|
|
:language: python
|
|
|
|
Receive CAN frames on DW CAN 01
|
|
================================
|
|
|
|
:download:`Download example <../../examples/python/can/can_receive_basic.py>`
|
|
|
|
.. literalinclude:: ../../examples/python/can/can_receive_basic.py
|
|
:language: python
|
|
|
|
Complete CAN Example
|
|
====================
|
|
|
|
:download:`Download example <../../examples/python/can/can_complete_example.py>`
|
|
|
|
.. literalinclude:: ../../examples/python/can/can_complete_example.py
|
|
:language: python
|
|
|
|
|
|
Transmit Ethernet frames on Ethernet 01
|
|
========================================
|
|
|
|
:download:`Download example <../../examples/python/ethernet/ethernet_transmit_basic.py>`
|
|
|
|
.. literalinclude:: ../../examples/python/ethernet/ethernet_transmit_basic.py
|
|
:language: python
|
|
|
|
Monitor Ethernet Status
|
|
=======================
|
|
|
|
:download:`Download example <../../examples/python/ethernet/ethernet_monitor_status.py>`
|
|
|
|
.. literalinclude:: ../../examples/python/ethernet/ethernet_monitor_status.py
|
|
:language: python
|
|
|
|
TC10 Power Management
|
|
=====================
|
|
|
|
:download:`Download example <../../examples/python/tc10/tc10.py>`
|
|
|
|
.. literalinclude:: ../../examples/python/tc10/tc10.py
|
|
:language: python
|
|
|
|
DoIP Ethernet Activation
|
|
========================
|
|
|
|
:download:`Download example <../../examples/python/doip/doip_activation_control.py>`
|
|
|
|
.. literalinclude:: ../../examples/python/doip/doip_activation_control.py
|
|
:language: python
|
|
|
|
Complete Ethernet Example
|
|
=========================
|
|
|
|
:download:`Download example <../../examples/python/ethernet/ethernet_complete_example.py>`
|
|
|
|
.. literalinclude:: ../../examples/python/ethernet/ethernet_complete_example.py
|
|
:language: python
|
|
|
|
Device Firmware/Chip Versions
|
|
=============================
|
|
|
|
:download:`Download example <../../examples/python/device/chip_versions.py>`
|
|
|
|
.. literalinclude:: ../../examples/python/device/chip_versions.py
|
|
:language: python
|
|
|
|
SPI Example for 10BASE-T1S
|
|
=============================
|
|
|
|
:download:`Download example <../../examples/python/spi/spi_example.py>`
|
|
|
|
.. literalinclude:: ../../examples/python/spi/spi_example.py
|
|
:language: python
|