[][src]Type Definition cc2538::gptimer0::TBR

type TBR = Reg<u32, _TBR>;

GPTM Timer B This register shows the current value of the Timer B counter. When a GPTM is configured to one of the 32-bit modes, the contents of bits [15:0] in this register are loaded into the upper 16 bits of the TAR register. Reads from this register return the current value of Timer B. In a 16-bit mode, bits 15:0 contain the value of the counter and bits [23:16] contain the value of the prescaler in Input edge count, input edge time, and PWM modes, which is the upper 8 bits of the count. Bits [31:24] always read as 0. To read the value of the prescaler in 16-bit, one-shot and periodic modes, read bits [23:16] in the TBV register.

This register you can read, reset, write, write_with_zero, modify. See API.

For information about avaliable fields see tbr module

Trait Implementations

impl Readable for TBR[src]

read() method returns tbr::R reader structure

impl Writable for TBR[src]

write(|w| ..) method takes tbr::W writer structure

impl ResetValue for TBR[src]

Register TBR reset()'s with value 0

type Type = u32

Register size