Errors
Normative
The error codes a conformant Port driver reports. Development errors are only raised when
development error reporting is enabled (see enable_development_error_reporting in
Configuration Reference). The Port driver defines no runtime errors. Governed by CHI-PORT-MUST-11
and CHI-PORT-MUST-12 in Port — Requirements.
Development errors
When development error reporting is enabled, each API detects the conditions below and raises the listed error via LogM_Report with development-error level.
API |
Condition |
Error id |
|---|---|---|
|
Driver not in |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Driver not initialized |
|
|
|
|
|
|
|
Development error type
Defines
Available via: Port_DriverTypes.h. Vendor-specific error definitions MUST be provided
via Port.h instead.