
4 Sep
2015
4 Sep
'15
1:47 p.m.
2015-09-04 13:35 GMT+02:00 Jagan Teki jteki@openedev.com:
I think we need to or CPOL and CPHA
what about this reg &= ~(SLINK_CMD_IDLE_SCLK_MASK | SLINK_CMD_CK_SDA);
The end result should be the same as reg &= ~SLINK_CMD_IDLE_SCLK_MASK & ~SLINK_CMD_CK_SDA;
or am I wrong?
But I can agree that it is easier to read/follow your suggestion.
--
Med Vänliga Hälsningar / Best Regards
*******************************************************************
Mirza Krak
Host Mobility AB
mirza.krak@hostmobility.com
Anders Personsgatan 12, 416 64 Göteborg
Sweden
http://www.hostmobility.com
Direct: +46 31 31 32 704
Phone: +46 31 31 32 700
Fax: +46 31 80 67 51
Mobile: +46 730 28 06 22
*******************************************************************