2.3.2 Capability
If a module has any capability, it is shown in the form of a small box (circular,
rhombus, or square) in the right-side of the module block in the Project Graph.
- The green color of the box indicates capability is already satisfied.
- The pink color of the box indicates it needs to be satisfied.
- The yellow color of the box indicates it is optional to satisfy this dependency.
- Direct Capability: Need a
manual connection to be made to use them. They are indicated by a small rhombus
symbol.
Figure 2-11. Direct Capability - Generic Capability: Do not
need any connections to be made to use them. They turn to green (get used) when
there is another module present in the project graph depending on them. They are
indicated by a small circular symbol.
Figure 2-12. Generic Capability - Multi Capability: Must be used
to satisfy the multiple dependencies of modules. They are indicated by a small
square symbol.
Figure 2-13. Used Multi Capability
The figure below shows the MCC Project Graph module dependencies and capability status:
- Device Family Pack and System modules do not have any capability or dependency.
- The core module has optional generic dependency on RTOS. Since there is no module on the project graph with capability of RTOS, this dependency remains unsatisfied. However, since it was an optional dependency, it is all right.
- The core module provides a generic capability of the Core Service. Since it is a generic capability, the SD Card Driver, AT25 Driver, MEMORY Driver, and the FILE SYSTEM modules have used it without a connection.
- SD Card Driver has generic dependency on the SYS_TIME, because there is no module in the project graph providing the SYS_TIME capability, the SD Card Driver is showing that dependency in small pink color circle. The user must add the Time System Service module to satisfy this dependency to generate the code successfully.
- SPI2 Peripheral Library has Direct capability, which is used to satisfy the dependency of the SD Card Driver Instance 0.
- AT25 Driver has a direct dependency on the SPI. A module which had SPI capability, is used by the SD Card Driver. Therefore, this dependency of the AT25 Driver remains unsatisfied, which is denoted by a small pink color rhombus on the left-side of AT25 Driver box. To proceed further, the user must add another SPI Peripheral Library component in the project graph and satisfy this dependency.
- File System has multiple dependencies, which is satisfied by the multi-capability of the SD Card Driver and MEMORY Driver.