Changeset e806b731 in rtems


Ignore:
Timestamp:
Jan 12, 2018, 9:09:53 AM (9 months ago)
Author:
Chris Johns <chrisj@…>
Branches:
master
Children:
47cc206
Parents:
c883bc9
git-author:
Chris Johns <chrisj@…> (01/12/18 09:09:53)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/15/18 06:22:30)
Message:

bsps/arm: Add header guard, fix defines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/arm/shared/include/am335x.h

    rc883bc9 re806b731  
    1616 * ones, and merge with some other header files.
    1717 */
     18
     19#if !defined(_AM335X_H_)
     20#define _AM335X_H_
    1821
    1922/* Interrupt controller memory map */
     
    486489#define AM335X_PWMSS_CLKCONFIG     0x8
    487490#define AM335X_PWMSS_CLK_EN_ACK        0x100
    488 #define AM335X_PWMSS_CLKSTATUS     0xC
    489491#define AM335X_EPWM_TBCTL          0x0
    490492#define AM335X_EPWM_TBSTS          0x2
     
    537539#define AM335X_EPWM_COUNTER_MODE_MASK         AM335X_EPWM_TBCTL_CTRMODE
    538540#define AM335X_TBCTL_FREERUN                  (2 << 14)
    539 #define AM335X_TBCTL_CTRMODE_UP               (0x0000u)
    540541#define AM335X_TBCTL_CTRMODE_SHIFT            (0x0000u)
    541542#define AM335X_EPWM_COUNT_UP                  (AM335X_TBCTL_CTRMODE_UP << \
     
    700701#define AM335X_CM_PER_OCPWP_L3_CLKSTCTRL_CLKACTIVITY_OCPWP_L4_GCLK (0x00000020u)
    701702#define AM335X_I2C_INT_STOP_CONDITION AM335X_I2C_IRQSTATUS_BF
     703
     704#endif
Note: See TracChangeset for help on using the changeset viewer.