[][src]Type Definition nuc1xx::gcr::porcr::W

type W = W<u32, PORCR>;

Writer for register PORCR

Methods

impl W[src]

pub fn por_dis_code(&mut self) -> POR_DIS_CODE_W[src]

Bits 0:15 - The register is used for the Power-On-Reset enable control When power on, the POR circuit generates a reset signal to reset the whole chip function, but noise on the power may cause the POR active again. User can disable internal POR circuit to avoid unpredictable noise to cause chip reset by writing 0x5AA5 to this field. The POR function will be active again when this field is set to another value or chip is reset by other reset source, including: /RESET, Watch dog, LVR reset, BOD reset, ICE reset command and the software-chip reset function This bit is the protected bit. It means programming this needs to write "59h", "16h", "88h" to address 0x5000_0100 to disable register protection. Reference the register REGWRPROT at address GCR_BA+0x100.