fn source_destination_size_offset(
        config: &mdma::MdmaConfig,
    ) -> (
        (mdma::MdmaSize, mdma::MdmaSize),
        (mdma::MdmaSize, mdma::MdmaSize),
    ) {
        let peripheral_size = mdma::MdmaSize::from_type::<
            <PERIPHERAL as TargetAddress<DIR>>::MemSize,
        >();
        let memory_size = mdma::MdmaSize::from_type::<BUF_WORD>();

        STREAM::source_destination_size_offset(
            config,
            peripheral_size,
            memory_size,
            DIR::direction(),
        )
    }
/// For a given configuration, determine the size and offset for the source
/// and destination
///
/// Returns ((s_size, d_size), (s_offset, d_offset))
For a given configuration, determine the size and offset for the source
and destination


For a given configuration determine the size and offset for the source and destination
fn source_destination_size_offset(
        config: &mdma::MdmaConfig,
    ) -> (
        (mdma::MdmaSize, mdma::MdmaSize),
        (mdma::MdmaSize, mdma::MdmaSize),
    ) {
        let peripheral_size = mdma::MdmaSize::from_type::<
            <PERIPHERAL as TargetAddress<DIR>>::MemSize,
        >();
        let memory_size = mdma::MdmaSize::from_type::<BUF_WORD>();
        STREAM::source_destination_size_offset(
            config,
            peripheral_size,
            memory_size,
            DIR::direction(),
        )
    }
fn source_destination_size_offset ( config : & mdma :: MdmaConfig , ) -> ( ( mdma :: MdmaSize , mdma :: MdmaSize ) , ( mdma :: MdmaSize , mdma :: MdmaSize ) , ) { let peripheral_size = mdma :: MdmaSize :: from_type :: < < PERIPHERAL as TargetAddress < DIR > > :: MemSize , > ( ) ; let memory_size = mdma :: MdmaSize :: from_type :: < BUF_WORD > ( ) ; STREAM :: source_destination_size_offset ( config , peripheral_size , memory_size , DIR :: direction ( ) , ) }
For a given configuration, determine the size and offset for the source
and destination
For a given configuration determine the size and offset for the source and destination
config
&mdma::MdmaConfig
config
&mdma::MdmaConfig