drivers/hcs12/ports.s
author bmakuc <blaz.makuc@smarteh.si>
Fri, 24 Mar 2017 10:52:38 +0100
changeset 796 1c87f7a8cb8a
parent 0 4472ee7c6c3e
permissions -rw-r--r--
Send timeout is set to 10 ms. Without timeout PLC can be blocked by CAN driver: if CAN bus is not connected to controller CAN driver never returns and therfore PLC application halts. This is a temporary solution.
0
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     1
/* 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     2
Define the i/o port global symbol 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     3
*/
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     4
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     5
.globl _io_ports
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     6
_io_ports=0x0000	
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     7
	
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     8
/* 
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
     9
0x0000 is the default mapping at reset. (it is 0x1000 for 68hc11)
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    10
*/
4472ee7c6c3e Commit a new cvs repo.
etisserant
parents:
diff changeset
    11