# Periodic Interval Timer Controller Interface Peripheral

PITC (AT91S_PITC) 0xFFFFFD30 (AT91C_BASE_PITC)

## PITC Software API (AT91S_PITC)

Offset | Field | Description
0x0 | PITC_PIMR (SYSC_PIMR) | Period Interval Mode Register
0x4 | PITC_PISR (SYSC_PISR) | Period Interval Status Register
0x8 | PITC_PIVR (SYSC_PIVR) | Period Interval Value Register
0xC | PITC_PIIR (SYSC_PIIR) | Period Interval Image Register

## PITC Register Description

#### PITC: AT91_REG SYSC_PIMR Period Interval Mode Register

- PITC AT91C_PITC_PIMR 0xFFFFFD30

Offset | Name | Description
19..0 | SYSC_PIV AT91C_SYSC_PIV | Periodic Interval Value Defines the value loaded in the 20-bit counter of the Period Interval Timer.
24 | SYSC_PITEN AT91C_SYSC_PITEN | Periodic Interval Timer Enabled 0 = The PIT is disabled, when the PIV value is reached. 1 = The PIT is enabled.
25 | SYSC_PITIEN AT91C_SYSC_PITIEN | Periodic Interval Timer Interrupt Enable 0 = The bit PITS in SYSC_PISR has no effect on SCIRQ. 1 = The bit PITS in SYSC_PISR asserts SCIRQ.

#### PITC: AT91_REG SYSC_PISR Period Interval Status Register

- PITC AT91C_PITC_PISR 0xFFFFFD34

Offset | Name | Description
0 | SYSC_PITS AT91C_SYSC_PITS | Periodic Interval Timer Status 0 = The PIT has not reached PIV since the last read of SYSC_PIVR. 1 = The PIT has reached PIV since the last read of SYSC_PIVR.

#### PITC: AT91_REG SYSC_PIVR Period Interval Value Register

- PITC AT91C_PITC_PIVR 0xFFFFFD38

Offset | Name | Description
19..0 | SYSC_CPIV AT91C_SYSC_CPIV | Current Periodic Interval Value Returns the current value of the periodic interval timer.
31..20 | SYSC_PICNT AT91C_SYSC_PICNT | Periodic Interval Counter Returns the number of occurence of periodic intervals since the last read of SYSC_PIVR.

#### PITC: AT91_REG SYSC_PIIR Period Interval Image Register

- PITC AT91C_PITC_PIIR 0xFFFFFD3C

Offset | Name | Description
19..0 | SYSC_CPIV AT91C_SYSC_CPIV | Current Periodic Interval Value Returns the current value of the periodic interval timer.
31..20 | SYSC_PICNT AT91C_SYSC_PICNT | Periodic Interval Counter Returns the number of occurence of periodic intervals since the last read of SYSC_PIVR.