Feature Specification Number.
Feature Specification NumberIdentifies the specific feature set and capabilities available in this PORT peripheral implementation. Different feature numbers indicate different hardware capabilities and supported functions.
功能規格編號,標識此PORT周邊實現中可用的特定功能集
- Bit Field: [15:0] of VERID register
- Width: 16-bit unsigned integer
- Indicates available peripheral features and capabilities
- Used for feature detection and capability checking
- Different values represent different hardware configurations
- 註
- Feature number is implementation-specific and design-dependent
-
Higher numbers do not necessarily indicate more features
-
Use lookup tables or documentation to interpret feature sets
-
Critical for software adaptation to different hardware variants
Detection:
Version version;
version = *reinterpret_cast<Version*>(&port->verid);
switch(version.feature) {
case 0x0000:
break;
case 0x0001:
break;
default:
break;
}