A Sensor Controller project consists mainly of:
- Name and description, and other project properties
- Target chip selection and other static configuration of the Sensor Controller
- For each task:
- Name and description
- Resource selection and configuration
- Resource-defined and user-defined constants
- Resource-defined and user-defined data structures variables (located in the AUX RAM)
- Sensor Controller task code:
- Initialization code: Runs when the System CPU application starts the task
- Execution code: Can be triggered regularly by AON_RTC, or by software
- Event handler code: Can be triggered by various peripheral events
- Termination code: Runs when the System CPU application stops the task
- I/O pin mapping
The generated SCIF driver consists of three parts:
- A generic application programming interface
- A driver setup, with all project specific definitions and data, including the AUX RAM image, code for I/O pin configuration, resource specific functions for use by the System CPU application, and so on
- An operating system abstraction layer that allows the driver to be used seamlessly with for example TI-RTOS