PIC32MK0128MCA028 TMR1 registers

The 3 registers of TMR1 (Timer 1), from 0xBF820000, with their reset value and every field. The PIC32MK0128MCA028 has 767 registers in 65 peripherals, one page each.

Most PIC32 SFRs have three more registers right after them: CLR at +4, SET at +8 and INV at +C (T1CONCLR, T1CONSET, T1CONINV), which clear, set or flip just the bits written as 1, in one write.

TMR1 Timer 1

T1CONTYPE A TIMER CONTROL REGISTER

Address
0xBF820000
Reset
0x00000000
Access
read/write
Size
32-bit
9 fields
FieldBitsWhat it does
ON15Timer On bit
  • 0 Timer is disabled
  • 1 Timer is enabled
SIDL13Stop in Idle Mode bit
  • 0 Continue operation even in Idle mode
  • 1 Discontinue operation when device enters Idle mode
TWDIS12Asynchronous Timer Write Disable bit
  • 0 Back-to-back writes are enabled (Legacy Asynchronous Timer functionality)
  • 1 Writes to TMR1 are ignored until pending write operation completes
TWIP11Asynchronous Timer Write in Progress bit
  • 0 In Asynchronous Timer mode Asynchronous write to TMR1 register complete / (In Synchronous Timer mode)bit is read as 0
  • 1 (In Asynchronous Timer mode) Asynchronous write to TMR1 register in progress / (In Synchronous Timer mode)bit is read as 0
TECS9:8Timer1 External Clock Selection bits
  • 0 External clock comes from the SOSC
  • 1 External clock comes from the T1CK pin
  • 2 External clock comes from the LPRC
TGATE7Timer Gated Time Accumulation Enable bit
  • 0 (When TCS is 0) Gated time accumulation is disabled / (When TCS is 1) bit is ignored
  • 1 (When TCS is 0) Gated time accumulation is enabled / (When TCS is 1) bit is ignored
TCKPS5:4Timer Input Clock Prescale Select bits
  • 0 1:1 prescale value
  • 1 1:8 prescale value
  • 2 1:64 prescale value
  • 3 1:256 prescale value
TSYNC2Timer External Clock Input Synchronization Selection bit
  • 0 (When TCS is 1) External clock input is not synchronized / (When TCS is 0) This bit is ignored
  • 1 (When TCS is 1) External clock input is synchronized / (When TCS is 0) This bit is ignored
TCS1Timer Clock Source Select bit
  • 0 Internal peripheral clock
  • 1 External clock is defined by the TECS bits

TMR1

Address
0xBF820010
Reset
0x00000000
Access
read/write
Size
32-bit

PR1

Address
0xBF820020
Reset
0x0000FFFF
Access
read/write
Size
32-bit