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

type R = R<u32, TEMPCR>;

Reader of register TEMPCR

Methods

impl R[src]

pub fn vtemp_en(&self) -> VTEMP_EN_R[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.