werwere
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of COM_MNG_TMTC_SIMPLE_pl123 by
Diff: ThreadsAndFunctions.h
- Revision:
- 130:d5b53088270b
- Parent:
- 128:a232a4352664
- Child:
- 136:8074893cd24e
--- a/ThreadsAndFunctions.h Fri Feb 26 13:29:33 2016 +0000 +++ b/ThreadsAndFunctions.h Sat Feb 27 07:12:04 2016 +0000 @@ -301,24 +301,4 @@ #endif gPAY_SPI.bulkRead_start(); } -} - -//I2C from CDMS to PL -const int addr1 = (0x20<<1|0); - -bool f = 1; - -void isr_pyldtm() -{ - ptr_t_pyldtm->signal_set(0x4); -} - -char rdata[134]; -void pyldtm(void const *args) -{ - while(1) - { - Thread::signal_wait(0x4); - f= master.read(addr1,rdata,134); - } } \ No newline at end of file