pub fn encode_with_config( d: &Device, config: &Config, ) -> Result<String, EncodeError>
Encodes a device object to an SVD (XML) string