Timer Counter Interface Peripheral

TCB (AT91S_TCB) 0xFFFA0000 (AT91C_BASE_TCB)

TCB Software API (AT91S_TCB)

Offset Field Description
0x0TCB_TC0 (TC)TC Channel 0
0x40TCB_TC1 (TC)TC Channel 1
0x80TCB_TC2 (TC)TC Channel 2
0xC0TCB_BCRTC Block Control Register
0xC4TCB_BMRTC Block Mode Register

TCB Register Description

TCB: AT91S_TC TC_TC0 - TC Channel 0

TCB: AT91S_TC TC_TC1 - TC Channel 1

TCB: AT91S_TC TC_TC2 - TC Channel 2

TCB: AT91_REG TCB_BCR - TC Block Control Register

Offset Name Description
0TCB_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

Offset Name Description
0TCB_TC0XC0S
AT91C_TCB_TC0XC0S
External Clock Signal 0 Selection
ValueLabelDescription
0TCB_TC0XC0S_TCLK0
AT91C_TCB_TC0XC0S_TCLK0

TCLK0 connected to XC0
1TCB_TC0XC0S_NONE
AT91C_TCB_TC0XC0S_NONE

None signal connected to XC0
2TCB_TC0XC0S_TIOA1
AT91C_TCB_TC0XC0S_TIOA1

TIOA1 connected to XC0
3TCB_TC0XC0S_TIOA2
AT91C_TCB_TC0XC0S_TIOA2

TIOA2 connected to XC0
2TCB_TC1XC1S
AT91C_TCB_TC1XC1S
External Clock Signal 1 Selection
ValueLabelDescription
0TCB_TC1XC1S_TCLK1
AT91C_TCB_TC1XC1S_TCLK1

TCLK1 connected to XC1
1TCB_TC1XC1S_NONE
AT91C_TCB_TC1XC1S_NONE

None signal connected to XC1
2TCB_TC1XC1S_TIOA0
AT91C_TCB_TC1XC1S_TIOA0

TIOA0 connected to XC1
3TCB_TC1XC1S_TIOA2
AT91C_TCB_TC1XC1S_TIOA2

TIOA2 connected to XC1
4TCB_TC2XC2S
AT91C_TCB_TC2XC2S
External Clock Signal 2 Selection
ValueLabelDescription
0TCB_TC2XC2S_TCLK2
AT91C_TCB_TC2XC2S_TCLK2

TCLK2 connected to XC2
1TCB_TC2XC2S_NONE
AT91C_TCB_TC2XC2S_NONE

None signal connected to XC2
2TCB_TC2XC2S_TIOA0
AT91C_TCB_TC2XC2S_TIOA0

TIOA0 connected to XC2
3TCB_TC2XC2S_TIOA2
AT91C_TCB_TC2XC2S_TIOA2

TIOA2 connected to XC2