Comtrol eCos User Manual

Page 15

Advertising
background image

Serial testing with ser_filter

................................................................................................................

281

Rationale

...................................................................................................................................

281

The Protocol

..............................................................................................................................

281

The Serial Tests

.........................................................................................................................

282

Serial Filter Usage

.....................................................................................................................

282

A Note on Failures

....................................................................................................................

284

Debugging

.................................................................................................................................

284

18. Device Driver Interface to the Kernel

....................................................................................................

285

Interrupt Model

...................................................................................................................................

285

Synchronization

..................................................................................................................................

285

SMP Support

......................................................................................................................................

286

Device Driver Models

.........................................................................................................................

286

Synchronization Levels

......................................................................................................................

287

The API

..............................................................................................................................................

288

cyg_drv_isr_lock

.......................................................................................................................

288

cyg_drv_isr_unlock

...................................................................................................................

289

cyg_drv_spinlock_init

...............................................................................................................

289

cyg_drv_spinlock_destroy

........................................................................................................

289

cyg_drv_spinlock_spin

.............................................................................................................

290

cyg_drv_spinlock_clear

............................................................................................................

290

cyg_drv_spinlock_try

...............................................................................................................

291

cyg_drv_spinlock_test

..............................................................................................................

291

cyg_drv_spinlock_spin_intsave

................................................................................................

292

cyg_drv_spinlock_clear_intsave

...............................................................................................

292

cyg_drv_dsr_lock

......................................................................................................................

293

cyg_drv_dsr_unlock

..................................................................................................................

293

cyg_drv_mutex_init

..................................................................................................................

294

cyg_drv_mutex_destroy

............................................................................................................

294

cyg_drv_mutex_lock

.................................................................................................................

295

cyg_drv_mutex_trylock

............................................................................................................

295

cyg_drv_mutex_unlock

.............................................................................................................

296

cyg_drv_mutex_release

............................................................................................................

296

cyg_drv_cond_init

....................................................................................................................

296

cyg_drv_cond_destroy

..............................................................................................................

297

cyg_drv_cond_wait

...................................................................................................................

297

cyg_drv_cond_signal

................................................................................................................

298

cyg_drv_cond_broadcast

..........................................................................................................

298

cyg_drv_interrupt_create

..........................................................................................................

299

cyg_drv_interrupt_delete

..........................................................................................................

300

cyg_drv_interrupt_attach

..........................................................................................................

300

cyg_drv_interrupt_detach

.........................................................................................................

301

cyg_drv_interrupt_mask

...........................................................................................................

301

cyg_drv_interrupt_mask_intunsafe

...........................................................................................

301

cyg_drv_interrupt_unmask

.......................................................................................................

302

cyg_drv_interrupt_unmask_intunsafe

.......................................................................................

302

cyg_drv_interrupt_acknowledge

...............................................................................................

303

cyg_drv_interrupt_configure

.....................................................................................................

303

cyg_drv_interrupt_level

............................................................................................................

304

xv

Advertising