Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
mcfpit.h File Reference

Go to the source code of this file.

Macros

#define MCFPIT_PCSR   0x0 /* PIT control register */
 
#define MCFPIT_PMR   0x2 /* PIT modulus register */
 
#define MCFPIT_PCNTR   0x4 /* PIT count register */
 
#define MCFPIT_PCSR_CLK1   0x0000 /* System clock divisor */
 
#define MCFPIT_PCSR_CLK2   0x0100 /* System clock divisor */
 
#define MCFPIT_PCSR_CLK4   0x0200 /* System clock divisor */
 
#define MCFPIT_PCSR_CLK8   0x0300 /* System clock divisor */
 
#define MCFPIT_PCSR_CLK16   0x0400 /* System clock divisor */
 
#define MCFPIT_PCSR_CLK32   0x0500 /* System clock divisor */
 
#define MCFPIT_PCSR_CLK64   0x0600 /* System clock divisor */
 
#define MCFPIT_PCSR_CLK128   0x0700 /* System clock divisor */
 
#define MCFPIT_PCSR_CLK256   0x0800 /* System clock divisor */
 
#define MCFPIT_PCSR_CLK512   0x0900 /* System clock divisor */
 
#define MCFPIT_PCSR_CLK1024   0x0a00 /* System clock divisor */
 
#define MCFPIT_PCSR_CLK2048   0x0b00 /* System clock divisor */
 
#define MCFPIT_PCSR_CLK4096   0x0c00 /* System clock divisor */
 
#define MCFPIT_PCSR_CLK8192   0x0d00 /* System clock divisor */
 
#define MCFPIT_PCSR_CLK16384   0x0e00 /* System clock divisor */
 
#define MCFPIT_PCSR_CLK32768   0x0f00 /* System clock divisor */
 
#define MCFPIT_PCSR_DOZE   0x0040 /* Clock run in doze mode */
 
#define MCFPIT_PCSR_HALTED   0x0020 /* Clock run in halt mode */
 
#define MCFPIT_PCSR_OVW   0x0010 /* Overwrite PIT counter now */
 
#define MCFPIT_PCSR_PIE   0x0008 /* Enable PIT interrupt */
 
#define MCFPIT_PCSR_PIF   0x0004 /* PIT interrupt flag */
 
#define MCFPIT_PCSR_RLD   0x0002 /* Reload counter */
 
#define MCFPIT_PCSR_EN   0x0001 /* Enable PIT */
 
#define MCFPIT_PCSR_DISABLE   0x0000 /* Disable PIT */
 

Macro Definition Documentation

#define MCFPIT_PCNTR   0x4 /* PIT count register */

Definition at line 19 of file mcfpit.h.

#define MCFPIT_PCSR   0x0 /* PIT control register */

Definition at line 17 of file mcfpit.h.

#define MCFPIT_PCSR_CLK1   0x0000 /* System clock divisor */

Definition at line 24 of file mcfpit.h.

#define MCFPIT_PCSR_CLK1024   0x0a00 /* System clock divisor */

Definition at line 34 of file mcfpit.h.

#define MCFPIT_PCSR_CLK128   0x0700 /* System clock divisor */

Definition at line 31 of file mcfpit.h.

#define MCFPIT_PCSR_CLK16   0x0400 /* System clock divisor */

Definition at line 28 of file mcfpit.h.

#define MCFPIT_PCSR_CLK16384   0x0e00 /* System clock divisor */

Definition at line 38 of file mcfpit.h.

#define MCFPIT_PCSR_CLK2   0x0100 /* System clock divisor */

Definition at line 25 of file mcfpit.h.

#define MCFPIT_PCSR_CLK2048   0x0b00 /* System clock divisor */

Definition at line 35 of file mcfpit.h.

#define MCFPIT_PCSR_CLK256   0x0800 /* System clock divisor */

Definition at line 32 of file mcfpit.h.

#define MCFPIT_PCSR_CLK32   0x0500 /* System clock divisor */

Definition at line 29 of file mcfpit.h.

#define MCFPIT_PCSR_CLK32768   0x0f00 /* System clock divisor */

Definition at line 39 of file mcfpit.h.

#define MCFPIT_PCSR_CLK4   0x0200 /* System clock divisor */

Definition at line 26 of file mcfpit.h.

#define MCFPIT_PCSR_CLK4096   0x0c00 /* System clock divisor */

Definition at line 36 of file mcfpit.h.

#define MCFPIT_PCSR_CLK512   0x0900 /* System clock divisor */

Definition at line 33 of file mcfpit.h.

#define MCFPIT_PCSR_CLK64   0x0600 /* System clock divisor */

Definition at line 30 of file mcfpit.h.

#define MCFPIT_PCSR_CLK8   0x0300 /* System clock divisor */

Definition at line 27 of file mcfpit.h.

#define MCFPIT_PCSR_CLK8192   0x0d00 /* System clock divisor */

Definition at line 37 of file mcfpit.h.

#define MCFPIT_PCSR_DISABLE   0x0000 /* Disable PIT */

Definition at line 47 of file mcfpit.h.

#define MCFPIT_PCSR_DOZE   0x0040 /* Clock run in doze mode */

Definition at line 40 of file mcfpit.h.

#define MCFPIT_PCSR_EN   0x0001 /* Enable PIT */

Definition at line 46 of file mcfpit.h.

#define MCFPIT_PCSR_HALTED   0x0020 /* Clock run in halt mode */

Definition at line 41 of file mcfpit.h.

#define MCFPIT_PCSR_OVW   0x0010 /* Overwrite PIT counter now */

Definition at line 42 of file mcfpit.h.

#define MCFPIT_PCSR_PIE   0x0008 /* Enable PIT interrupt */

Definition at line 43 of file mcfpit.h.

#define MCFPIT_PCSR_PIF   0x0004 /* PIT interrupt flag */

Definition at line 44 of file mcfpit.h.

#define MCFPIT_PCSR_RLD   0x0002 /* Reload counter */

Definition at line 45 of file mcfpit.h.

#define MCFPIT_PMR   0x2 /* PIT modulus register */

Definition at line 18 of file mcfpit.h.