Bit field defines for setting CLKPOL and CLKPHA to zero

Thread Starter

yef smith

Joined Aug 2, 2020
717
Hello nsaspook,So in order to change this property given the two tables you shown I need to write it as bellow:

Code:
SPIDRV_HandleData_t handleData;
SPIDRV_Handle_t handle = &handleData;
handle->SPIDRV_ClockMode=spidrvClockMode0;
Correct?
Thanks.
1596652902526.png
1596652928363.png
 

nsaspook

Joined Aug 27, 2009
13,079
I would assume you would need to use the proper API calls to get the actual handle and to update SPI comm properties.
 
Last edited:
Top