mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
LPC17xx USBDEV driver now compiles (still untested)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2805 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/****************************************************************************
|
||||
* drivers/mmcsd/mmcsd_spi.c
|
||||
*
|
||||
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
|
||||
* Copyright (C) 2008-2010 Gregory Nutt. All rights reserved.
|
||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -114,12 +114,12 @@
|
||||
* ticks per second.
|
||||
*/
|
||||
|
||||
#define MMCSD_DELAY_10MS (CLK_TCK/100 + 1)
|
||||
#define MMCSD_DELAY_50MS (CLK_TCK/20 + 1)
|
||||
#define MMCSD_DELAY_100MS (CLK_TCK/10 + 1)
|
||||
#define MMCSD_DELAY_250MS (CLK_TCK/4 + 1)
|
||||
#define MMCSD_DELAY_500MS (CLK_TCK/2 + 1)
|
||||
#define MMCSD_DELAY_1SEC (CLK_TCK + 1)
|
||||
#define MMCSD_DELAY_10MS (CLK_TCK/100 + 1)
|
||||
#define MMCSD_DELAY_50MS (CLK_TCK/20 + 1)
|
||||
#define MMCSD_DELAY_100MS (CLK_TCK/10 + 1)
|
||||
#define MMCSD_DELAY_250MS (CLK_TCK/4 + 1)
|
||||
#define MMCSD_DELAY_500MS (CLK_TCK/2 + 1)
|
||||
#define MMCSD_DELAY_1SEC (CLK_TCK + 1)
|
||||
#define MMCSD_DELAY_10SEC (10 * CLK_TCK + 1)
|
||||
|
||||
#define ELAPSED_TIME(t) (g_system_timer-(t))
|
||||
|
||||
Reference in New Issue
Block a user