Ignore:
Timestamp:
Apr 9, 2010, 12:22:57 PM (10 years ago)
Author:
Thomas Doerfler <Thomas.Doerfler@…>
Branches:
4.10, 4.11, master
Children:
22f107b6
Parents:
6d614c47
Message:

added dma header
added thumb support to start.S
updated documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/shared/lpc/include/lpc-timer.h

    r6d614c47 r7a6f8d0  
    22 * @file
    33 *
    4  * @ingroup lpc
     4 * @ingroup lpc_timer
    55 *
    66 * @brief Timer API.
     
    2929#endif
    3030
     31/**
     32 * @defgroup lpc_timer Timer Support
     33 *
     34 * @ingroup lpc
     35 *
     36 * @brief Timer support.
     37 *
     38 * @{
     39 */
     40
     41/**
     42 * @name Interrupt Register Defines
     43 *
     44 * @{
     45 */
     46
    3147#define LPC_TIMER_IR_MR0 0x1U
    3248#define LPC_TIMER_IR_MR1 0x2U
     
    3955#define LPC_TIMER_IR_ALL 0xffU
    4056
     57/** @} */
     58
     59/**
     60 * @name Timer Control Register Defines
     61 *
     62 * @{
     63 */
     64
    4165#define LPC_TIMER_TCR_EN 0x1U
    4266#define LPC_TIMER_TCR_RST 0x2U
     67
     68/** @} */
     69
     70/**
     71 * @name Match Control Register Defines
     72 *
     73 * @{
     74 */
    4375
    4476#define LPC_TIMER_MCR_MR0_INTR 0x1U
     
    5587#define LPC_TIMER_MCR_MR3_STOP 0x800U
    5688
     89/** @} */
     90
     91/**
     92 * @name Capture Control Register Defines
     93 *
     94 * @{
     95 */
     96
    5797#define LPC_TIMER_CCR_CAP0_RE 0x1U
    5898#define LPC_TIMER_CCR_CAP0_FE 0x2U
     
    68108#define LPC_TIMER_CCR_CAP3_INTR 0x800U
    69109
     110/** @} */
     111
     112/**
     113 * @name External Match Register Defines
     114 *
     115 * @{
     116 */
     117
    70118#define LPC_TIMER_EMR_EM0_RE 0x1U
    71119#define LPC_TIMER_EMR_EM1_FE 0x2U
     
    77125#define LPC_TIMER_EMR_EMC3_FE 0x80U
    78126
     127/** @} */
     128
     129/**
     130 * @brief Timer control block.
     131 */
    79132typedef struct {
    80133  uint32_t ir;
     
    97150} lpc_timer;
    98151
     152/** @} */
     153
    99154#ifdef __cplusplus
    100155}
Note: See TracChangeset for help on using the changeset viewer.