SOES implementation i.c.w. ET1100 (Beckhoff ASIC)
Dependencies: KL25Z_ClockControl MODSERIAL mbed
Fork of EtherCAT-XbusMaster by
Diff: soes.cpp
- Revision:
- 19:8ead12aec8d5
- Parent:
- 18:6629e8c5d59e
- Child:
- 20:ad13d4f5fd98
diff -r 6629e8c5d59e -r 8ead12aec8d5 soes.cpp --- a/soes.cpp Thu Mar 05 23:08:58 2015 +0000 +++ b/soes.cpp Fri Mar 06 08:11:15 2015 +0000 @@ -71,6 +71,9 @@ xbus_t xbus_master; +DigitalOut ploep(PTA13); +#define PLOEP do{ploep = !(ploep);}while(0); + /* Private function prototypes -----------------------------------------------*/ /* Private functions ---------------------------------------------------------*/ @@ -199,6 +202,7 @@ // within MODSERIAL (because they are friends). This ensures rxDiscardLastChar() // can only be called within an rxCallback function. info->rxDiscardLastChar(); + PLOEP; }