Mercurial > ecos-v3_0-branch
comparison packages/hal/arm/edb7xxx/current/include/hal_diag.h @ 115:6ed91473a1cd ecos-sw-2000-08-21
Merge from eCos master repository on 2000-08-21-22:40:54-BST
| author | jlarmour |
|---|---|
| date | Fri, 25 Aug 2000 17:32:38 +0000 |
| parents | 84e4bde58b26 |
| children | e0c0827131d1 |
comparison
equal
deleted
inserted
replaced
| 114:5ad2b71d525e | 115:6ed91473a1cd |
|---|---|
| 55 | 55 |
| 56 #define HAL_DIAG_INIT() hal_if_diag_init() | 56 #define HAL_DIAG_INIT() hal_if_diag_init() |
| 57 #define HAL_DIAG_WRITE_CHAR(_c_) hal_if_diag_write_char(_c_) | 57 #define HAL_DIAG_WRITE_CHAR(_c_) hal_if_diag_write_char(_c_) |
| 58 #define HAL_DIAG_READ_CHAR(_c_) hal_if_diag_read_char(&_c_) | 58 #define HAL_DIAG_READ_CHAR(_c_) hal_if_diag_read_char(&_c_) |
| 59 | 59 |
| 60 // Not the best place for this, but ... | |
| 61 extern void hal_delay_us(cyg_int32 usecs); | |
| 62 | |
| 63 #define HAL_DELAY_US(n) hal_delay_us(n); | |
| 64 | |
| 60 #else // everything by steam | 65 #else // everything by steam |
| 61 | 66 |
| 62 /*---------------------------------------------------------------------------*/ | 67 /*---------------------------------------------------------------------------*/ |
| 63 /* functions implemented in hal_diag.c */ | 68 /* functions implemented in hal_diag.c */ |
| 64 | 69 |
