# Timer Counter Interface Peripheral

TCB (AT91S_TCB) 0xFFFA0000 (AT91C_BASE_TCB)

## TCB Software API (AT91S_TCB)

Offset | Field | Description
0x0 | TCB_TC0 (TC) | TC Channel 0
0x40 | TCB_TC1 (TC) | TC Channel 1
0x80 | TCB_TC2 (TC) | TC Channel 2
0xC0 | TCB_BCR | TC Block Control Register
0xC4 | TCB_BMR | TC Block Mode Register

## TCB Register Description

#### TCB: AT91S_TC TC_TC0 TC Channel 0

- TCB AT91C_TCB_TC0 0xFFFA0000

#### TCB: AT91S_TC TC_TC1 TC Channel 1

- TCB AT91C_TCB_TC1 0xFFFA0040

#### TCB: AT91S_TC TC_TC2 TC Channel 2

- TCB AT91C_TCB_TC2 0xFFFA0080

#### TCB: AT91_REG TCB_BCR TC Block Control Register

- TCB AT91C_TCB_BCR 0xFFFA00C0

Offset | Name | Description
0 | TCB_SYNC AT91C_TCB_SYNC | Synchro Command 0 = No effect. 1 = Asserts the SYNC signal which generates a software trigger simultaneously for each of the channels.

#### TCB: AT91_REG TCB_BMR TC Block Mode Register

- TCB AT91C_TCB_BMR 0xFFFA00C4

Offset | Name | Description
0 | TCB_TC0XC0S AT91C_TCB_TC0XC0S | External Clock Signal 0 Selection Value | Label | Description
0 | TCB_TC0XC0S_TCLK0 AT91C_TCB_TC0XC0S_TCLK0 | TCLK0 connected to XC0
1 | TCB_TC0XC0S_NONE AT91C_TCB_TC0XC0S_NONE | None signal connected to XC0
2 | TCB_TC0XC0S_TIOA1 AT91C_TCB_TC0XC0S_TIOA1 | TIOA1 connected to XC0
3 | TCB_TC0XC0S_TIOA2 AT91C_TCB_TC0XC0S_TIOA2 | TIOA2 connected to XC0
2 | TCB_TC1XC1S AT91C_TCB_TC1XC1S | External Clock Signal 1 Selection Value | Label | Description
0 | TCB_TC1XC1S_TCLK1 AT91C_TCB_TC1XC1S_TCLK1 | TCLK1 connected to XC1
1 | TCB_TC1XC1S_NONE AT91C_TCB_TC1XC1S_NONE | None signal connected to XC1
2 | TCB_TC1XC1S_TIOA0 AT91C_TCB_TC1XC1S_TIOA0 | TIOA0 connected to XC1
3 | TCB_TC1XC1S_TIOA2 AT91C_TCB_TC1XC1S_TIOA2 | TIOA2 connected to XC1
4 | TCB_TC2XC2S AT91C_TCB_TC2XC2S | External Clock Signal 2 Selection Value | Label | Description
0 | TCB_TC2XC2S_TCLK2 AT91C_TCB_TC2XC2S_TCLK2 | TCLK2 connected to XC2
1 | TCB_TC2XC2S_NONE AT91C_TCB_TC2XC2S_NONE | None signal connected to XC2
2 | TCB_TC2XC2S_TIOA0 AT91C_TCB_TC2XC2S_TIOA0 | TIOA0 connected to XC2
3 | TCB_TC2XC2S_TIOA2 AT91C_TCB_TC2XC2S_TIOA2 | TIOA2 connected to XC2