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

type W = W<u32, TEMPCR>;

Writer for register TEMPCR

Methods

impl W[src]

pub fn vtemp_en(&mut self) -> VTEMP_EN_W[src]

Bit 0 - Temperature sensor Enable This bit is used to enable/disable temperature sensor function. 1 = Enabled temperature sensor function 0 = Disabled temperature sensor function (default) After this bit is set to 1, the value of temperature can get from ADC conversion result by ADC channel selecting channel 7 and alternative multiplexer channel selecting temperature sensor. Detail ADC conversion function please reference ADC function chapter.