[][src]Type Definition stm32f1::stm32f101::otg_fs_global::fs_gotgctl::W

type W = W<u32, FS_GOTGCTL>;

Writer for register FS_GOTGCTL

Methods

impl W[src]

pub fn srq(&mut self) -> SRQ_W[src]

Bit 1 - Session request

pub fn hnprq(&mut self) -> HNPRQ_W[src]

Bit 9 - HNP request

pub fn hshnpen(&mut self) -> HSHNPEN_W[src]

Bit 10 - Host set HNP enable

pub fn dhnpen(&mut self) -> DHNPEN_W[src]

Bit 11 - Device HNP enabled