Programme d'utilisation des AX12 et de l'MX12 V3. 0C = action de l'MX12. (data0) 0 | 1 | 2 = position & sens de rotation

Dependencies:   MX12

Fork of Utilisatio_MX12_V3 by CRAC Team

Committer:
R66Y
Date:
Sat May 20 18:12:28 2017 +0000
Revision:
5:bb953eda06e7
Parent:
1:f3f702086a30
Derni?re version de l'MX12.;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ClementBreteau 1:f3f702086a30 1 /******************************************************************************
ClementBreteau 1:f3f702086a30 2 * @file: system_LPC17xx.h
ClementBreteau 1:f3f702086a30 3 * @purpose: CMSIS Cortex-M3 Device Peripheral Access Layer Header File
ClementBreteau 1:f3f702086a30 4 * for the NXP LPC17xx Device Series
ClementBreteau 1:f3f702086a30 5 * @version: V1.02
ClementBreteau 1:f3f702086a30 6 * @date: 27. July 2009
ClementBreteau 1:f3f702086a30 7 *----------------------------------------------------------------------------
ClementBreteau 1:f3f702086a30 8 *
ClementBreteau 1:f3f702086a30 9 * Copyright (C) 2009 ARM Limited. All rights reserved.
ClementBreteau 1:f3f702086a30 10 *
ClementBreteau 1:f3f702086a30 11 * ARM Limited (ARM) is supplying this software for use with Cortex-M3
ClementBreteau 1:f3f702086a30 12 * processor based microcontrollers. This file can be freely distributed
ClementBreteau 1:f3f702086a30 13 * within development tools that are supporting such ARM based processors.
ClementBreteau 1:f3f702086a30 14 *
ClementBreteau 1:f3f702086a30 15 * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED
ClementBreteau 1:f3f702086a30 16 * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
ClementBreteau 1:f3f702086a30 17 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
ClementBreteau 1:f3f702086a30 18 * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
ClementBreteau 1:f3f702086a30 19 * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
ClementBreteau 1:f3f702086a30 20 *
ClementBreteau 1:f3f702086a30 21 ******************************************************************************/
ClementBreteau 1:f3f702086a30 22
ClementBreteau 1:f3f702086a30 23
ClementBreteau 1:f3f702086a30 24 #ifndef __SYSTEM_LPC17xx_H
ClementBreteau 1:f3f702086a30 25 #define __SYSTEM_LPC17xx_H
ClementBreteau 1:f3f702086a30 26
ClementBreteau 1:f3f702086a30 27 #ifdef __cplusplus
ClementBreteau 1:f3f702086a30 28 extern "C" {
ClementBreteau 1:f3f702086a30 29 #endif
ClementBreteau 1:f3f702086a30 30
ClementBreteau 1:f3f702086a30 31 extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
ClementBreteau 1:f3f702086a30 32
ClementBreteau 1:f3f702086a30 33
ClementBreteau 1:f3f702086a30 34 /**
ClementBreteau 1:f3f702086a30 35 * Initialize the system
ClementBreteau 1:f3f702086a30 36 *
ClementBreteau 1:f3f702086a30 37 * @param none
ClementBreteau 1:f3f702086a30 38 * @return none
ClementBreteau 1:f3f702086a30 39 *
ClementBreteau 1:f3f702086a30 40 * @brief Setup the microcontroller system.
ClementBreteau 1:f3f702086a30 41 * Initialize the System and update the SystemCoreClock variable.
ClementBreteau 1:f3f702086a30 42 */
ClementBreteau 1:f3f702086a30 43 extern void SystemInit (void);
ClementBreteau 1:f3f702086a30 44
ClementBreteau 1:f3f702086a30 45 /**
ClementBreteau 1:f3f702086a30 46 * Update SystemCoreClock variable
ClementBreteau 1:f3f702086a30 47 *
ClementBreteau 1:f3f702086a30 48 * @param none
ClementBreteau 1:f3f702086a30 49 * @return none
ClementBreteau 1:f3f702086a30 50 *
ClementBreteau 1:f3f702086a30 51 * @brief Updates the SystemCoreClock with current core Clock
ClementBreteau 1:f3f702086a30 52 * retrieved from cpu registers.
ClementBreteau 1:f3f702086a30 53 */
ClementBreteau 1:f3f702086a30 54 extern void SystemCoreClockUpdate (void);
ClementBreteau 1:f3f702086a30 55
ClementBreteau 1:f3f702086a30 56 #ifdef __cplusplus
ClementBreteau 1:f3f702086a30 57 }
ClementBreteau 1:f3f702086a30 58 #endif
ClementBreteau 1:f3f702086a30 59
ClementBreteau 1:f3f702086a30 60 #endif /* __SYSTEM_LPC17xx_H */