예제 #1
0
파일: dfmem.c 프로젝트: rqou/imageproc-lib
void dfmemSetup(unsigned char cs)
{
    spi_cs = cs;
    dfmemSetupPeripheral();
    spic2SetCallback(cs, &spiCallback);
    while(!dfmemIsReady());

    dfmemGeometrySetup();
}
예제 #2
0
void dfmemSetup(void)
{
    dfmemSetupPeripheral();
    dfmemDeselectChip();
    dfmemGeometrySetup();
}