format 4.0
census 2e30db26-66c8-4551-85b9-a537376d8f99 1
namespace Windows.Devices.Spi

delegate Windows.Foundation.AsyncOperationCompletedHandler<Windows.Devices.Spi.SpiController> concrete
    py winrt.windows.foundation.AsyncOperationCompletedHandler[SpiController]
    guid 5e94d949-a844-5b25-a3cc-afabeb18c1d2
    signature pinterface({fcdcf02c-e5d8-4478-915a-4d90b74b83a5};rc(Windows.Devices.Spi.SpiController;{a8d3c829-9895-4159-a934-8741f1ee6d27}))
    base Windows.Foundation.AsyncOperationCompletedHandler
    argument Windows.Devices.Spi.SpiController
    method -
        method Invoke slot=3 inputs=2 outputs=0 shape=51 reverse=4
            in parameterized type=Windows.Foundation.IAsyncOperation<Windows.Devices.Spi.SpiController> name=asyncInfo
            in enum32 type=Windows.Foundation.AsyncStatus name=asyncStatus

delegate Windows.Foundation.AsyncOperationCompletedHandler<Windows.Devices.Spi.SpiDevice> concrete
    py winrt.windows.foundation.AsyncOperationCompletedHandler[SpiDevice]
    guid a88a28ba-6966-55e7-8c81-7c65f74e39c0
    signature pinterface({fcdcf02c-e5d8-4478-915a-4d90b74b83a5};rc(Windows.Devices.Spi.SpiDevice;{05d5356d-11b6-4d39-84d5-95dfb4c9f2ce}))
    base Windows.Foundation.AsyncOperationCompletedHandler
    argument Windows.Devices.Spi.SpiDevice
    method -
        method Invoke slot=3 inputs=2 outputs=0 shape=51 reverse=4
            in parameterized type=Windows.Foundation.IAsyncOperation<Windows.Devices.Spi.SpiDevice> name=asyncInfo
            in enum32 type=Windows.Foundation.AsyncStatus name=asyncStatus

delegate Windows.Foundation.AsyncOperationCompletedHandler<Windows.Foundation.Collections.IVectorView<Windows.Devices.Spi.SpiController>> concrete
    py winrt.windows.foundation.AsyncOperationCompletedHandler[IVectorView[SpiController]]
    guid c8afc9cb-6807-57ec-84c9-9f3dbc003450
    signature pinterface({fcdcf02c-e5d8-4478-915a-4d90b74b83a5};pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.Devices.Spi.SpiController;{a8d3c829-9895-4159-a934-8741f1ee6d27})))
    base Windows.Foundation.AsyncOperationCompletedHandler
    argument Windows.Foundation.Collections.IVectorView<Windows.Devices.Spi.SpiController>
    method -
        method Invoke slot=3 inputs=2 outputs=0 shape=51 reverse=4
            in parameterized type=Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Windows.Devices.Spi.SpiController>> name=asyncInfo
            in enum32 type=Windows.Foundation.AsyncStatus name=asyncStatus

interface Windows.Foundation.IAsyncOperation<Windows.Devices.Spi.SpiController> concrete awaitable
    py winrt.windows.foundation._IAsyncOperation[SpiController]
    guid b6b0df6f-c097-5844-93bd-7821998fdb8e
    signature pinterface({9fc2b0bb-e446-44e2-aa61-9cab8f636af2};rc(Windows.Devices.Spi.SpiController;{a8d3c829-9895-4159-a934-8741f1ee6d27}))
    base Windows.Foundation.IAsyncOperation
    requires Windows.Foundation.IAsyncInfo
    argument Windows.Devices.Spi.SpiController
    property completed
        get get_Completed slot=7 inputs=0 outputs=1 declaring=Windows.Foundation.IAsyncOperation<Windows.Devices.Spi.SpiController> shape=4 reverse=43 role=completed
            out delegate type=Windows.Foundation.AsyncOperationCompletedHandler<Windows.Devices.Spi.SpiController> return
        put put_Completed slot=6 inputs=1 outputs=0 declaring=Windows.Foundation.IAsyncOperation<Windows.Devices.Spi.SpiController> shape=4 reverse=22
            in delegate type=Windows.Foundation.AsyncOperationCompletedHandler<Windows.Devices.Spi.SpiController> name=handler
    property error_code
        get get_ErrorCode slot=8 inputs=0 outputs=1 declaring=Windows.Foundation.IAsyncInfo shape=4 reverse=62
            out hresult type=Windows.Foundation.HResult return
    property id
        get get_Id slot=6 inputs=0 outputs=1 declaring=Windows.Foundation.IAsyncInfo shape=4 reverse=22
            out uint32 return
    property status
        get get_Status slot=7 inputs=0 outputs=1 declaring=Windows.Foundation.IAsyncInfo shape=4 reverse=43 role=status
            out enum32 type=Windows.Foundation.AsyncStatus return
    method cancel
        method Cancel slot=9 inputs=0 outputs=0 declaring=Windows.Foundation.IAsyncInfo shape=0 reverse=93
    method close
        method Close slot=10 inputs=0 outputs=0 declaring=Windows.Foundation.IAsyncInfo shape=0 reverse=117
    method get_results
        method GetResults slot=8 inputs=0 outputs=1 declaring=Windows.Foundation.IAsyncOperation<Windows.Devices.Spi.SpiController> shape=4 reverse=62 role=get_results
            out class type=Windows.Devices.Spi.SpiController return

interface Windows.Foundation.IAsyncOperation<Windows.Devices.Spi.SpiDevice> concrete awaitable
    py winrt.windows.foundation._IAsyncOperation[SpiDevice]
    guid feb8466a-878f-577b-bbca-89575cfc56e4
    signature pinterface({9fc2b0bb-e446-44e2-aa61-9cab8f636af2};rc(Windows.Devices.Spi.SpiDevice;{05d5356d-11b6-4d39-84d5-95dfb4c9f2ce}))
    base Windows.Foundation.IAsyncOperation
    requires Windows.Foundation.IAsyncInfo
    argument Windows.Devices.Spi.SpiDevice
    property completed
        get get_Completed slot=7 inputs=0 outputs=1 declaring=Windows.Foundation.IAsyncOperation<Windows.Devices.Spi.SpiDevice> shape=4 reverse=43 role=completed
            out delegate type=Windows.Foundation.AsyncOperationCompletedHandler<Windows.Devices.Spi.SpiDevice> return
        put put_Completed slot=6 inputs=1 outputs=0 declaring=Windows.Foundation.IAsyncOperation<Windows.Devices.Spi.SpiDevice> shape=4 reverse=22
            in delegate type=Windows.Foundation.AsyncOperationCompletedHandler<Windows.Devices.Spi.SpiDevice> name=handler
    property error_code
        get get_ErrorCode slot=8 inputs=0 outputs=1 declaring=Windows.Foundation.IAsyncInfo shape=4 reverse=62
            out hresult type=Windows.Foundation.HResult return
    property id
        get get_Id slot=6 inputs=0 outputs=1 declaring=Windows.Foundation.IAsyncInfo shape=4 reverse=22
            out uint32 return
    property status
        get get_Status slot=7 inputs=0 outputs=1 declaring=Windows.Foundation.IAsyncInfo shape=4 reverse=43 role=status
            out enum32 type=Windows.Foundation.AsyncStatus return
    method cancel
        method Cancel slot=9 inputs=0 outputs=0 declaring=Windows.Foundation.IAsyncInfo shape=0 reverse=93
    method close
        method Close slot=10 inputs=0 outputs=0 declaring=Windows.Foundation.IAsyncInfo shape=0 reverse=117
    method get_results
        method GetResults slot=8 inputs=0 outputs=1 declaring=Windows.Foundation.IAsyncOperation<Windows.Devices.Spi.SpiDevice> shape=4 reverse=62 role=get_results
            out class type=Windows.Devices.Spi.SpiDevice return

interface Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Windows.Devices.Spi.SpiController>> concrete awaitable
    py winrt.windows.foundation._IAsyncOperation[IVectorView[SpiController]]
    guid 89624331-f802-56f7-9b33-17c616ecbcfa
    signature pinterface({9fc2b0bb-e446-44e2-aa61-9cab8f636af2};pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.Devices.Spi.SpiController;{a8d3c829-9895-4159-a934-8741f1ee6d27})))
    base Windows.Foundation.IAsyncOperation
    requires Windows.Foundation.IAsyncInfo
    argument Windows.Foundation.Collections.IVectorView<Windows.Devices.Spi.SpiController>
    property completed
        get get_Completed slot=7 inputs=0 outputs=1 declaring=Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Windows.Devices.Spi.SpiController>> shape=4 reverse=43 role=completed
            out delegate type=Windows.Foundation.AsyncOperationCompletedHandler<Windows.Foundation.Collections.IVectorView<Windows.Devices.Spi.SpiController>> return
        put put_Completed slot=6 inputs=1 outputs=0 declaring=Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Windows.Devices.Spi.SpiController>> shape=4 reverse=22
            in delegate type=Windows.Foundation.AsyncOperationCompletedHandler<Windows.Foundation.Collections.IVectorView<Windows.Devices.Spi.SpiController>> name=handler
    property error_code
        get get_ErrorCode slot=8 inputs=0 outputs=1 declaring=Windows.Foundation.IAsyncInfo shape=4 reverse=62
            out hresult type=Windows.Foundation.HResult return
    property id
        get get_Id slot=6 inputs=0 outputs=1 declaring=Windows.Foundation.IAsyncInfo shape=4 reverse=22
            out uint32 return
    property status
        get get_Status slot=7 inputs=0 outputs=1 declaring=Windows.Foundation.IAsyncInfo shape=4 reverse=43 role=status
            out enum32 type=Windows.Foundation.AsyncStatus return
    method cancel
        method Cancel slot=9 inputs=0 outputs=0 declaring=Windows.Foundation.IAsyncInfo shape=0 reverse=93
    method close
        method Close slot=10 inputs=0 outputs=0 declaring=Windows.Foundation.IAsyncInfo shape=0 reverse=117
    method get_results
        method GetResults slot=8 inputs=0 outputs=1 declaring=Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Windows.Devices.Spi.SpiController>> shape=4 reverse=62 role=get_results
            out parameterized type=Windows.Foundation.Collections.IVectorView<Windows.Devices.Spi.SpiController> return

interface Windows.Foundation.Collections.IIterable<System.Int32> concrete iterable
    py winrt.windows.foundation.collections._IIterable[Int32]
    guid 81a643fb-f51c-5565-83c4-f96425777b66
    signature pinterface({faa585ea-6214-4217-afda-7f46de5869b3};i4)
    base Windows.Foundation.Collections.IIterable
    argument System.Int32
    method first
        method First slot=6 inputs=0 outputs=1 declaring=Windows.Foundation.Collections.IIterable<System.Int32> shape=4 reverse=22 role=first
            out parameterized type=Windows.Foundation.Collections.IIterator<System.Int32> return

interface Windows.Foundation.Collections.IIterable<Windows.Devices.Spi.SpiController> concrete iterable
    py winrt.windows.foundation.collections._IIterable[SpiController]
    guid 7b076938-dc1b-5368-9003-059291d37f35
    signature pinterface({faa585ea-6214-4217-afda-7f46de5869b3};rc(Windows.Devices.Spi.SpiController;{a8d3c829-9895-4159-a934-8741f1ee6d27}))
    base Windows.Foundation.Collections.IIterable
    argument Windows.Devices.Spi.SpiController
    method first
        method First slot=6 inputs=0 outputs=1 declaring=Windows.Foundation.Collections.IIterable<Windows.Devices.Spi.SpiController> shape=4 reverse=22 role=first
            out parameterized type=Windows.Foundation.Collections.IIterator<Windows.Devices.Spi.SpiController> return

interface Windows.Foundation.Collections.IIterator<System.Int32> concrete iterable iterator
    py winrt.windows.foundation.collections._IIterator[Int32]
    guid bfea7f78-50c2-5f1d-a6ea-9e978d2699ff
    signature pinterface({6a79e863-4300-459a-9966-cbb660963ee1};i4)
    base Windows.Foundation.Collections.IIterator
    argument System.Int32
    property current
        get get_Current slot=6 inputs=0 outputs=1 declaring=Windows.Foundation.Collections.IIterator<System.Int32> shape=4 reverse=22 role=current
            out int32 return
    property has_current
        get get_HasCurrent slot=7 inputs=0 outputs=1 declaring=Windows.Foundation.Collections.IIterator<System.Int32> shape=4 reverse=43 role=has_current
            out boolean return
    method get_many
        method GetMany slot=9 inputs=1 outputs=1 declaring=Windows.Foundation.Collections.IIterator<System.Int32> shape=117 reverse=101 role=get_many
            fill_array int32 name=items
            out uint32 return
    method move_next
        method MoveNext slot=8 inputs=0 outputs=1 declaring=Windows.Foundation.Collections.IIterator<System.Int32> shape=4 reverse=62 role=move_next
            out boolean return

interface Windows.Foundation.Collections.IIterator<Windows.Devices.Spi.SpiController> concrete iterable iterator
    py winrt.windows.foundation.collections._IIterator[SpiController]
    guid fd7d5997-544c-5be9-b0fa-1d0efbfc4a03
    signature pinterface({6a79e863-4300-459a-9966-cbb660963ee1};rc(Windows.Devices.Spi.SpiController;{a8d3c829-9895-4159-a934-8741f1ee6d27}))
    base Windows.Foundation.Collections.IIterator
    argument Windows.Devices.Spi.SpiController
    property current
        get get_Current slot=6 inputs=0 outputs=1 declaring=Windows.Foundation.Collections.IIterator<Windows.Devices.Spi.SpiController> shape=4 reverse=22 role=current
            out class type=Windows.Devices.Spi.SpiController return
    property has_current
        get get_HasCurrent slot=7 inputs=0 outputs=1 declaring=Windows.Foundation.Collections.IIterator<Windows.Devices.Spi.SpiController> shape=4 reverse=43 role=has_current
            out boolean return
    method get_many
        method GetMany slot=9 inputs=1 outputs=1 declaring=Windows.Foundation.Collections.IIterator<Windows.Devices.Spi.SpiController> shape=117 reverse=101 role=get_many
            fill_array class type=Windows.Devices.Spi.SpiController name=items
            out uint32 return
    method move_next
        method MoveNext slot=8 inputs=0 outputs=1 declaring=Windows.Foundation.Collections.IIterator<Windows.Devices.Spi.SpiController> shape=4 reverse=62 role=move_next
            out boolean return

interface Windows.Devices.Spi.ISpiBusInfo
    guid 9929444a-54f2-48c6-b952-9c32fc02c669

interface Windows.Devices.Spi.ISpiConnectionSettings
    guid 5283a37f-f935-4b9f-a7a7-3a7890afa5ce

interface Windows.Devices.Spi.ISpiConnectionSettingsFactory
    guid ff99081e-10c4-44b7-9fea-a748b5a46f31

interface Windows.Devices.Spi.ISpiController
    guid a8d3c829-9895-4159-a934-8741f1ee6d27

interface Windows.Devices.Spi.ISpiControllerStatics
    guid 0d5229e2-138b-4e48-b964-4f2f79b9c5a2

interface Windows.Devices.Spi.ISpiDevice
    guid 05d5356d-11b6-4d39-84d5-95dfb4c9f2ce

interface Windows.Devices.Spi.ISpiDeviceStatics python_type
    py _ISpiDeviceStatics
    guid a278e559-5720-4d3f-bd93-56f5ff5a5879
    signature {a278e559-5720-4d3f-bd93-56f5ff5a5879}
    method from_id_async
        method FromIdAsync slot=9 inputs=2 outputs=1 declaring=Windows.Devices.Spi.ISpiDeviceStatics shape=117 reverse=101
            in string name=busId
            in class type=Windows.Devices.Spi.SpiConnectionSettings name=settings
            out parameterized type=Windows.Foundation.IAsyncOperation<Windows.Devices.Spi.SpiDevice> return
    method get_bus_info
        method GetBusInfo slot=8 inputs=1 outputs=1 declaring=Windows.Devices.Spi.ISpiDeviceStatics shape=51 reverse=65
            in string name=busId
            out class type=Windows.Devices.Spi.SpiBusInfo return
    method get_device_selector
        method GetDeviceSelector slot=6 inputs=0 outputs=1 declaring=Windows.Devices.Spi.ISpiDeviceStatics shape=4 reverse=22
            out string return
        method GetDeviceSelector slot=7 inputs=1 outputs=1 declaring=Windows.Devices.Spi.ISpiDeviceStatics shape=51 reverse=44
            in string name=friendlyName
            out string return

interface Windows.Foundation.Collections.IVectorView<System.Int32> concrete iterable sequence
    py winrt.windows.foundation.collections._IVectorView[Int32]
    guid 8d720cdf-3934-5d3f-9a55-40e8063b086a
    signature pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};i4)
    base Windows.Foundation.Collections.IVectorView
    requires Windows.Foundation.Collections.IIterable<System.Int32>
    argument System.Int32
    property size
        get get_Size slot=7 inputs=0 outputs=1 declaring=Windows.Foundation.Collections.IVectorView<System.Int32> shape=4 reverse=43 role=size
            out uint32 return
    method first
        method First slot=6 inputs=0 outputs=1 declaring=Windows.Foundation.Collections.IIterable<System.Int32> shape=4 reverse=22 role=first
            out parameterized type=Windows.Foundation.Collections.IIterator<System.Int32> return
    method get_at
        method GetAt slot=6 inputs=1 outputs=1 declaring=Windows.Foundation.Collections.IVectorView<System.Int32> shape=51 reverse=24 role=get_at
            in uint32 name=index
            out int32 return
    method get_many
        method GetMany slot=9 inputs=2 outputs=1 declaring=Windows.Foundation.Collections.IVectorView<System.Int32> shape=195 reverse=102 role=get_many
            in uint32 name=startIndex
            fill_array int32 name=items
            out uint32 return
    method index_of
        method IndexOf slot=8 inputs=1 outputs=2 declaring=Windows.Foundation.Collections.IVectorView<System.Int32> shape=117 reverse=66 role=index_of
            in int32 name=value
            out uint32 name=index
            out boolean return

interface Windows.Foundation.Collections.IVectorView<Windows.Devices.Spi.SpiController> concrete iterable sequence
    py winrt.windows.foundation.collections._IVectorView[SpiController]
    guid 35fec489-44a2-5543-8a0c-b52e2f9cf87c
    signature pinterface({bbe1fa4c-b0e3-4583-baef-1f1b2e483e56};rc(Windows.Devices.Spi.SpiController;{a8d3c829-9895-4159-a934-8741f1ee6d27}))
    base Windows.Foundation.Collections.IVectorView
    requires Windows.Foundation.Collections.IIterable<Windows.Devices.Spi.SpiController>
    argument Windows.Devices.Spi.SpiController
    property size
        get get_Size slot=7 inputs=0 outputs=1 declaring=Windows.Foundation.Collections.IVectorView<Windows.Devices.Spi.SpiController> shape=4 reverse=43 role=size
            out uint32 return
    method first
        method First slot=6 inputs=0 outputs=1 declaring=Windows.Foundation.Collections.IIterable<Windows.Devices.Spi.SpiController> shape=4 reverse=22 role=first
            out parameterized type=Windows.Foundation.Collections.IIterator<Windows.Devices.Spi.SpiController> return
    method get_at
        method GetAt slot=6 inputs=1 outputs=1 declaring=Windows.Foundation.Collections.IVectorView<Windows.Devices.Spi.SpiController> shape=51 reverse=24 role=get_at
            in uint32 name=index
            out class type=Windows.Devices.Spi.SpiController return
    method get_many
        method GetMany slot=9 inputs=2 outputs=1 declaring=Windows.Foundation.Collections.IVectorView<Windows.Devices.Spi.SpiController> shape=195 reverse=102 role=get_many
            in uint32 name=startIndex
            fill_array class type=Windows.Devices.Spi.SpiController name=items
            out uint32 return
    method index_of
        method IndexOf slot=8 inputs=1 outputs=2 declaring=Windows.Foundation.Collections.IVectorView<Windows.Devices.Spi.SpiController> shape=117 reverse=66 role=index_of
            in class type=Windows.Devices.Spi.SpiController name=value
            out uint32 name=index
            out boolean return

class Windows.Devices.Spi.SpiBusInfo python_type
    py SpiBusInfo
    signature rc(Windows.Devices.Spi.SpiBusInfo;{9929444a-54f2-48c6-b952-9c32fc02c669})
    default Windows.Devices.Spi.ISpiBusInfo
    requires Windows.Devices.Spi.ISpiBusInfo
    property chip_select_line_count
        get get_ChipSelectLineCount slot=6 inputs=0 outputs=1 declaring=Windows.Devices.Spi.ISpiBusInfo shape=4
            out int32 return
    property max_clock_frequency
        get get_MaxClockFrequency slot=8 inputs=0 outputs=1 declaring=Windows.Devices.Spi.ISpiBusInfo shape=4
            out int32 return
    property min_clock_frequency
        get get_MinClockFrequency slot=7 inputs=0 outputs=1 declaring=Windows.Devices.Spi.ISpiBusInfo shape=4
            out int32 return
    property supported_data_bit_lengths
        get get_SupportedDataBitLengths slot=9 inputs=0 outputs=1 declaring=Windows.Devices.Spi.ISpiBusInfo shape=4
            out parameterized type=Windows.Foundation.Collections.IVectorView<System.Int32> return

class Windows.Devices.Spi.SpiConnectionSettings python_type
    py SpiConnectionSettings
    signature rc(Windows.Devices.Spi.SpiConnectionSettings;{5283a37f-f935-4b9f-a7a7-3a7890afa5ce})
    default Windows.Devices.Spi.ISpiConnectionSettings
    requires Windows.Devices.Spi.ISpiConnectionSettings
    factory Windows.Devices.Spi.ISpiConnectionSettingsFactory
    constructor -
        ctor .ctor slot=6 inputs=1 outputs=1 declaring=Windows.Devices.Spi.ISpiConnectionSettingsFactory shape=51
            in int32 name=chipSelectLine
            out class type=Windows.Devices.Spi.SpiConnectionSettings return
    property sharing_mode
        get get_SharingMode slot=14 inputs=0 outputs=1 declaring=Windows.Devices.Spi.ISpiConnectionSettings shape=4
            out enum32 type=Windows.Devices.Spi.SpiSharingMode return
        put put_SharingMode slot=15 inputs=1 outputs=0 declaring=Windows.Devices.Spi.ISpiConnectionSettings shape=4
            in enum32 type=Windows.Devices.Spi.SpiSharingMode name=value
    property mode
        get get_Mode slot=8 inputs=0 outputs=1 declaring=Windows.Devices.Spi.ISpiConnectionSettings shape=4
            out enum32 type=Windows.Devices.Spi.SpiMode return
        put put_Mode slot=9 inputs=1 outputs=0 declaring=Windows.Devices.Spi.ISpiConnectionSettings shape=4
            in enum32 type=Windows.Devices.Spi.SpiMode name=value
    property data_bit_length
        get get_DataBitLength slot=10 inputs=0 outputs=1 declaring=Windows.Devices.Spi.ISpiConnectionSettings shape=4
            out int32 return
        put put_DataBitLength slot=11 inputs=1 outputs=0 declaring=Windows.Devices.Spi.ISpiConnectionSettings shape=4
            in int32 name=value
    property clock_frequency
        get get_ClockFrequency slot=12 inputs=0 outputs=1 declaring=Windows.Devices.Spi.ISpiConnectionSettings shape=4
            out int32 return
        put put_ClockFrequency slot=13 inputs=1 outputs=0 declaring=Windows.Devices.Spi.ISpiConnectionSettings shape=4
            in int32 name=value
    property chip_select_line
        get get_ChipSelectLine slot=6 inputs=0 outputs=1 declaring=Windows.Devices.Spi.ISpiConnectionSettings shape=4
            out int32 return
        put put_ChipSelectLine slot=7 inputs=1 outputs=0 declaring=Windows.Devices.Spi.ISpiConnectionSettings shape=4
            in int32 name=value

class Windows.Devices.Spi.SpiController python_type
    py SpiController
    signature rc(Windows.Devices.Spi.SpiController;{a8d3c829-9895-4159-a934-8741f1ee6d27})
    default Windows.Devices.Spi.ISpiController
    requires Windows.Devices.Spi.ISpiController
    factory Windows.Devices.Spi.ISpiControllerStatics
    method get_controllers_async static
        method GetControllersAsync slot=7 inputs=1 outputs=1 declaring=Windows.Devices.Spi.ISpiControllerStatics shape=51 static
            in interface type=Windows.Devices.Spi.Provider.ISpiProvider name=provider
            out parameterized type=Windows.Foundation.IAsyncOperation<Windows.Foundation.Collections.IVectorView<Windows.Devices.Spi.SpiController>> return
    method get_default_async static
        method GetDefaultAsync slot=6 inputs=0 outputs=1 declaring=Windows.Devices.Spi.ISpiControllerStatics shape=4 static
            out parameterized type=Windows.Foundation.IAsyncOperation<Windows.Devices.Spi.SpiController> return
    method get_device
        method GetDevice slot=6 inputs=1 outputs=1 declaring=Windows.Devices.Spi.ISpiController shape=51
            in class type=Windows.Devices.Spi.SpiConnectionSettings name=settings
            out class type=Windows.Devices.Spi.SpiDevice return

class Windows.Devices.Spi.SpiDevice python_type closeable
    py SpiDevice
    signature rc(Windows.Devices.Spi.SpiDevice;{05d5356d-11b6-4d39-84d5-95dfb4c9f2ce})
    default Windows.Devices.Spi.ISpiDevice
    requires Windows.Devices.Spi.ISpiDevice
    requires Windows.Foundation.IClosable
    factory Windows.Devices.Spi.ISpiDeviceStatics
    property connection_settings
        get get_ConnectionSettings slot=7 inputs=0 outputs=1 declaring=Windows.Devices.Spi.ISpiDevice shape=4
            out class type=Windows.Devices.Spi.SpiConnectionSettings return
    property device_id
        get get_DeviceId slot=6 inputs=0 outputs=1 declaring=Windows.Devices.Spi.ISpiDevice shape=4
            out string return
    method close
        method Close slot=6 inputs=0 outputs=0 declaring=Windows.Foundation.IClosable shape=0 reverse=16 role=close
    method from_id_async static
        method FromIdAsync slot=9 inputs=2 outputs=1 declaring=Windows.Devices.Spi.ISpiDeviceStatics shape=117 static
            in string name=busId
            in class type=Windows.Devices.Spi.SpiConnectionSettings name=settings
            out parameterized type=Windows.Foundation.IAsyncOperation<Windows.Devices.Spi.SpiDevice> return
    method get_bus_info static
        method GetBusInfo slot=8 inputs=1 outputs=1 declaring=Windows.Devices.Spi.ISpiDeviceStatics shape=51 static
            in string name=busId
            out class type=Windows.Devices.Spi.SpiBusInfo return
    method get_device_selector static
        method GetDeviceSelector slot=6 inputs=0 outputs=1 declaring=Windows.Devices.Spi.ISpiDeviceStatics shape=4 static
            out string return
        method GetDeviceSelector slot=7 inputs=1 outputs=1 declaring=Windows.Devices.Spi.ISpiDeviceStatics shape=51 static
            in string name=friendlyName
            out string return
    method read
        method Read slot=9 inputs=1 outputs=0 declaring=Windows.Devices.Spi.ISpiDevice shape=51
            fill_array uint8 name=buffer
    method transfer_full_duplex
        method TransferFullDuplex slot=11 inputs=2 outputs=0 declaring=Windows.Devices.Spi.ISpiDevice shape=195
            pass_array uint8 name=writeBuffer
            fill_array uint8 name=readBuffer
    method transfer_sequential
        method TransferSequential slot=10 inputs=2 outputs=0 declaring=Windows.Devices.Spi.ISpiDevice shape=195
            pass_array uint8 name=writeBuffer
            fill_array uint8 name=readBuffer
    method write
        method Write slot=8 inputs=1 outputs=0 declaring=Windows.Devices.Spi.ISpiDevice shape=51
            pass_array uint8 name=buffer

enum Windows.Devices.Spi.SpiMode python_type
    py SpiMode
    signature enum(Windows.Devices.Spi.SpiMode;i4)
    constant MODE0 0
    constant MODE1 1
    constant MODE2 2
    constant MODE3 3

enum Windows.Devices.Spi.SpiSharingMode python_type
    py SpiSharingMode
    signature enum(Windows.Devices.Spi.SpiSharingMode;i4)
    constant EXCLUSIVE 0
    constant SHARED 1

class System.Int32 external
    py winrt.system.Int32

interface Windows.Devices.Spi.Provider.ISpiProvider external
    py winrt.windows.devices.spi.provider._ISpiProvider
    guid 96b461e2-77d4-48ce-aaa0-75715a8362cf

delegate Windows.Foundation.AsyncOperationCompletedHandler external parameterized
    py winrt.windows.foundation.AsyncOperationCompletedHandler
    guid fcdcf02c-e5d8-4478-915a-4d90b74b83a5

enum Windows.Foundation.AsyncStatus external
    py winrt.windows.foundation.AsyncStatus

struct Windows.Foundation.HResult external
    py winrt.windows.foundation.HResult

interface Windows.Foundation.IAsyncInfo external
    py winrt.windows.foundation._IAsyncInfo
    guid 00000036-0000-0000-c000-000000000046

interface Windows.Foundation.IAsyncOperation external parameterized
    py winrt.windows.foundation._IAsyncOperation
    guid 9fc2b0bb-e446-44e2-aa61-9cab8f636af2

interface Windows.Foundation.IClosable external
    py winrt.windows.foundation._IClosable
    guid 30d5a829-7fa4-4026-83bb-d75bae4ea99e

interface Windows.Foundation.Collections.IIterable external parameterized
    py winrt.windows.foundation.collections._IIterable
    guid faa585ea-6214-4217-afda-7f46de5869b3

interface Windows.Foundation.Collections.IIterator external parameterized
    py winrt.windows.foundation.collections._IIterator
    guid 6a79e863-4300-459a-9966-cbb660963ee1

interface Windows.Foundation.Collections.IVectorView external parameterized
    py winrt.windows.foundation.collections._IVectorView
    guid bbe1fa4c-b0e3-4583-baef-1f1b2e483e56
