pub type DATALENGTH_W<'a, const O: u8> = FieldWriter<'a, u32, DLENR_SPEC, u32, u32, 25, O>;
Expand description

Field DATALENGTH writer - Data length value This register can only be written by firmware when DPSM is inactive (DPSMACT = 0). Number of data bytes to be transferred. When DDR = 1 DATALENGTH is truncated to a multiple of 2. (The last odd byte is not transfered) When DATALENGTH = 0 no data will be transfered, when requested by a CPSMEN and CMDTRANS = 1 also no command will be transfered. DTEN and CPSMEN are cleared to 0.