Crate assign_resources

Source

Macrosยง

assign_resources
Extract the specified fields from the Peripherals struct into several named structs which can be passed to other tasks to provide them with all their resources, including pins, peripherals, DMA channels, etc.