Introduction¶
SAIL the sensor and actuator interface layer provides software modules for interfacing sensors,actuators, input devices and display devices like TMP007, OPT3001, push buttons etc.The SAIL modules use TI drivers for interfacing.The SAIL modules are scalable across devices MSP432,CC3200,CC2651,CC13xx and can be used with the MCU SDKs(msp432, cc26x0, cc32xx) seamlessly. The below figure shows how SAIL fits into the SDK eco system.Please refer to MCU SDK Userguide for more information regarding the MCU SDK Structure and its components.
Features of SAIL modules
- Written completely in C.
- Follows well defined coding guidelines.
- detailed API user guide is provided for each module.
- They can be built with more than one tool chain
- provides console based examples examples which show the usage of various API of SAIL modules.
- provides complex examples which use various SAIL modules to implement a BoosterPack Example.
Directory Structure¶
The Plugin can be extracted to user desired location.Preferred location would be /ti or c:/ti. Below is the top-level directory structure of the SAIL Plugin installation:
- The “docs” directory contains all the documentation files for the SAIL Plugin. The Documentation Overview links to these documents.
- The “examples” directory contains a number of example applications for each supported board.
- The “source” directory contains source code for SAIL modules and makefile for building the SAIL library for various toolchains and platforms.
The following figure shows the contents of the “source” directory.
The following figure shows the contents of the “examples” directory.