Device Driver Initialization
Streaming I/O and Device Drivers
7-33
7.11 Device Driver Initialization
The driver function table Dxx_FXNS is initialized in dxx.c, as shown in section
7.10,
Additional initialization is performed by Dxx_init. The Dxx module is initialized
when other application-level modules are initialized. Dxx_init typically calls
hardware initialization routines and initializes static driver structures as
shown in Example 7-22.
Example 7-22.
Initialization by Dxx_init
Although Dxx_init is required in order to maintain consistency with DSP/BIOS
configuration and initialization standards, there are actually no DSP/BIOS
requirements for the internal operation of Dxx_init. There is in fact no
standard for hardware initialization, and it can be more appropriate on some
systems to perform certain hardware setup operations elsewhere in Dxx,
such as Dxx_open. Therefore, on some systems, Dxx_init might simply be an
empty function.
/*
* ======== Dxx_init ========
*/
Void Dxx_init()
{
`Perform hardware initialization`
}
Содержание TMS320 Series
Страница 1: ...TMS320 DSP BIOS v5 40 User s Guide Literature Number SPRU423G April 2009 ...
Страница 16: ...xvi ...
Страница 152: ...Tasks 4 48 Figure 4 12 Trace from Example 4 7 ...
Страница 168: ...Semaphores 4 64 Figure 4 14 Trace Results from Example 4 11 ...
Страница 202: ...5 20 ...
Страница 287: ...Index 9 Index Void 1 11 W words data memory 3 15 of code 1 5 wrapper function 2 29 ...
Страница 288: ...Index 10 Index ...