Mercurial > flash_v2
comparison packages/hal/arm/sa11x0/var/current/include/hal_diag.h @ 1418:879ff7a40226
hal_delay_us() is a C function.
| author | asl |
|---|---|
| date | Fri, 05 Dec 2003 09:56:54 +0000 |
| parents | d2c90368aeef |
| children |
comparison
equal
deleted
inserted
replaced
| 1417:14c3e340717c | 1418:879ff7a40226 |
|---|---|
| 68 #define HAL_DIAG_INIT() hal_if_diag_init() | 68 #define HAL_DIAG_INIT() hal_if_diag_init() |
| 69 #define HAL_DIAG_WRITE_CHAR(_c_) hal_if_diag_write_char(_c_) | 69 #define HAL_DIAG_WRITE_CHAR(_c_) hal_if_diag_write_char(_c_) |
| 70 #define HAL_DIAG_READ_CHAR(_c_) hal_if_diag_read_char(&_c_) | 70 #define HAL_DIAG_READ_CHAR(_c_) hal_if_diag_read_char(&_c_) |
| 71 | 71 |
| 72 // Not the best place for this, but ... | 72 // Not the best place for this, but ... |
| 73 extern void hal_delay_us(cyg_int32 usecs); | 73 externC void hal_delay_us(cyg_int32 usecs); |
| 74 | 74 |
| 75 #define HAL_DELAY_US(n) hal_delay_us(n); | 75 #define HAL_DELAY_US(n) hal_delay_us(n); |
| 76 | 76 |
| 77 #else | 77 #else |
| 78 | 78 |
