| Periph ID AIC | Symbol | Description |
|---|---|---|
| 1 | (AT91C_ID_SYS) | System Controller |
| Function | Description |
|---|---|
| AT91F_PITC_CfgPMC | Enable Peripheral clock in PMC for PITC |
| Offset | Field | Description |
|---|---|---|
| 0x0 | PITC_PIMR | Period Interval Mode Register |
| 0x4 | PITC_PISR | Period Interval Status Register |
| 0x8 | PITC_PIVR | Period Interval Value Register |
| 0xC | PITC_PIIR | Period Interval Image Register |
| Function | Description |
|---|---|
| AT91F_PITEnableInt | Enable PIT periodic interrupt |
| AT91F_PITInit | System timer init : period in µsecond, system clock freq in MHz |
| AT91F_PITGetPIVR | Read System timer CPIV and PICNT without ressetting the counters |
| AT91F_PITDisableInt | Disable PIT periodic interrupt |
| AT91F_PITSetPIV | Set the PIT Periodic Interval Value |
| AT91F_PITGetStatus | Read PIT status register |
| AT91F_PITGetPIIR | Read PIT CPIV and PICNT without ressetting the counters |
| AT91F_PITGetMode | Read PIT mode register |
| Offset | Name | Description |
|---|---|---|
| 19..0 | PITC_PIV AT91C_PITC_PIV | Periodic Interval Value Defines the value loaded in the 20-bit counter of the Period Interval Timer. |
| 24 | PITC_PITEN AT91C_PITC_PITEN | Periodic Interval Timer Enabled 0 = The PIT is disabled, when the PIV value is reached. 1 = The PIT is enabled. |
| 25 | PITC_PITIEN AT91C_PITC_PITIEN | Periodic Interval Timer Interrupt Enable 0 = The bit PITS in PITC_PISR has no effect on SCIRQ. 1 = The bit PITS in PITC_PISR asserts SCIRQ. |
| Offset | Name | Description |
|---|---|---|
| 0 | PITC_PITS AT91C_PITC_PITS | Periodic Interval Timer Status 0 = The PIT has not reached PIV since the last read of PITC_PIVR. 1 = The PIT has reached PIV since the last read of PITC_PIVR. |
| Offset | Name | Description |
|---|---|---|
| 19..0 | PITC_CPIV AT91C_PITC_CPIV | Current Periodic Interval Value Returns the current value of the periodic interval timer. |
| 31..20 | PITC_PICNT AT91C_PITC_PICNT | Periodic Interval Counter Returns the number of occurence of periodic intervals since the last read of PITC_PIVR. |
| Offset | Name | Description |
|---|---|---|
| 19..0 | PITC_CPIV AT91C_PITC_CPIV | Current Periodic Interval Value Returns the current value of the periodic interval timer. |
| 31..20 | PITC_PICNT AT91C_PITC_PICNT | Periodic Interval Counter Returns the number of occurence of periodic intervals since the last read of PITC_PIVR. |