package ti.sysbios.family |
|
Contains family-specific modules for SYS/BIOS
The ti.sysbios.family package contains family-specific implementations
of modules in the Hardware Abstraction Layer
(
HAL) package.
[
more ... ]
package ti.sysbios.family [2, 0, 0, 0] {
// Select the device-specific family modules
}
DETAILS
The ti.sysbios.family package contains family-specific implementations
of modules in the Hardware Abstraction Layer
(
HAL) package.
The SYS/BIOS ti.sysbios.hal
package requires target/device-specific API
implementations to achieve their functionality. To provide a common set
of APIs for these modules across all supported families/devices, SYS/BIOS
uses the RTSC proxy-delegate module mechanism. That is, the HAL
modules serve as a proxies for a corresponding
family-specific module implementation.
The generic HAL APIs are designed to cover the great majority of use
cases. If you are concerned with easy portability between
different TI devices, you should use the generic HAL APIs as much
as possible. However, if the generic APIs cannot enable use of a
device-specific hardware feature that is advantageous to the software
application, you may choose to use the target/device-specific APIs.
During the configuration step of the application build, the
modules in the ti.sysbios.hal package locate and bind
themselves to appropriate delegate module implementations based on the
current target
and platform specified in your config.bld file. The delegate binding
process is done internally.
For example, if your config.bld file specifies that one of your build
targets is the C64P family, the
ti.sysbios.hal.Hwi knows to
bind itself to the
ti.sysbios.family.c64p.Hwi implementation.
The
SYS/BIOS Delegates Usage page
lists the delegates available for every target and platform.
generated on Mon, 02 Jun 2014 21:17:36 GMT