ContentsIndex
Example
VM_DCL_SPI_GET_TICK
 VM_DCL_HANDLE spi_handle;
 vm_dcl_spi_mode_t spi_data;
spi_handle = vm_dcl_open(VM_DCL_SPI_PORT1, 0);
if(VM_DCL_HANDLE_INVALID == spi_handle) return;
spi_data.mode = VM_DCL_SPI_MODE_GET_TICK;
spi_data.is_enable = KAL_TRUE;
spi_data.param = VM_DCL_SPI_GET_TICK_DELAY1;
 vm_dcl_control(spi_handle,VM_DCL_SPI_CONTROL_SET_MODE,(void *)&spi_data);
//To do something.
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.