SLAU847F October 2022 – March 2026 MSPM0L1105 , MSPM0L1106 , MSPM0L1116 , MSPM0L1117 , MSPM0L1227 , MSPM0L1227-Q1 , MSPM0L1228 , MSPM0L1228-Q1 , MSPM0L1303 , MSPM0L1304 , MSPM0L1304-Q1 , MSPM0L1305 , MSPM0L1305-Q1 , MSPM0L1306 , MSPM0L1306-Q1 , MSPM0L1343 , MSPM0L1344 , MSPM0L1345 , MSPM0L1346 , MSPM0L2116 , MSPM0L2117 , MSPM0L2227 , MSPM0L2227-Q1 , MSPM0L2228 , MSPM0L2228-Q1
In the Figure 29-10, two counters are cascaded to create a larger time duration. CNTR0 OVF0 is used as the clock source of CNTR1. The interrupt is generated when the CNTR1 OVF1 occurs. This results in interrupt being generated every 12 bus clock cycles.
| Register | Value | Description |
|---|---|---|
| CNTR0 | ||
| TIMB.CTL0[0].STARTSEL | 0 | N/A |
| TIMB.CTL0[0].STOPSEL | 0 | N/A |
| TIMB.CTL0[0].RESETSEL | 0 | N/A |
| TIMB.CTL0[0].CLKSEL | 0 | N/A |
| TIMB.LD[0] | 2 | LD value |
| TIMB.CTL0[0].EN | 1 | Enabled by software |
| CNTR1 | ||
| TIMB.CTL0[1].STARTSEL | 0 | N/A |
| TIMB.CTL0[1].STOPSEL | 0 | N/A |
| TIMB.CTL0[1].RESETSEL | 0 | N/A |
| TIMB.CTL0[1].CLKSEL | 1 | OVF0 is the CLK source |
| TIMB.LD[1] | 3 | LD Value |
| TIMB.CTL0[1].EN | 1 | Enabled by software |
| IMASK | 0x008 | OVF interrupr of CNTR1 enabled |