Datasheet

Table Of Contents
PN532_C1 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2017. All rights reserved.
Product data sheet
COMPANY PUBLIC
Rev. 3.6 — 28 November 2017
115436 24 of 222
NXP Semiconductors
PN532/C1
Near Field Communication (NFC) controller
8.1.6.3 T01MOD register
This register is used to configure Timer0/1.
Table 24. Timer 0/1 T01MOD register (SFR address 89h), bit allocation
Bit 7 6 5 4 3 2 1 0
Symbol GATE1 C/T1 M11 M10 GATE0 C/T0 M01 M00
Reset 00000000
Access R/W R/W R/W R/W R/W R/W R/W R/W
Table 25. Description of T01MOD bits
Bit Symbol Description
7GATE1Timer1 gate control. Set by firmware only.
When set to logic 1, Timer1 is enabled only when P33_INT1 is high and bit
TR1 of register T01CON is set.
When set to logic 0, Timer1 is enabled.
6C/T1Timer1 timer/counter selector. Set by firmware only.
When set to logic 1, Timer1 is set to counter operation.
When set to logic 0, Timer1 is set to timer operation.
5 to 4 M[11:10] Timer1 mode. Set by firmware only.
Mode 0: M11 = 0 and M10 = 0
8192 counter
T1L serves as a 5-bit prescaler
Mode 1: M11 = 0 and M10 = 1
16-bit timer/counter
T1H and T1L are cascaded
Mode 2: M11 = 1 and M10 = 0
8-bit auto-reload timer/counter.
T1H stores value to be reloaded into T1L each time T1L overflows.
Mode 3: M11 = 1 and M10 = 1
Timer1 is stopped (count frozen).