An initial port to the FRDM-K46Z based on the the following: https://developer.mbed.org/users/okini3939/notebook/dmx512/
Fork of DMX by
Need to update the UART references to the K46Z. The KE02 Sub-Family Reference Manual provides us with the required information.
The modifications are wrapped with the target for the K46: For example, defined(TARGET_KL46Z)
Revision 21:59c200304b47, committed 2015-03-27
- Comitter:
- rosienej
- Date:
- Fri Mar 27 17:51:07 2015 +0000
- Parent:
- 20:b1942f266f49
- Commit message:
- rx_int update
Changed in this revision
DMX.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r b1942f266f49 -r 59c200304b47 DMX.cpp --- a/DMX.cpp Thu Mar 26 17:11:02 2015 +0000 +++ b/DMX.cpp Fri Mar 27 17:51:07 2015 +0000 @@ -197,7 +197,7 @@ /// looking for (7)erroneous data,(3) Framming Error, (4) Break tmp1 = (_uart->S1 & (UART_S1_NF_MASK|UART_S1_FE_MASK)); // NF,FE tmp2 = (_uart->S2 & UART_S2_LBKDIF_MASK); //LBKDIF - flg = (tmp1<<1) | tmp2; + flg = (tmp1<<2) | tmp2; #else flg = _uart->LSR; #endif