mbed robotracer for education.
Robotracer (line follower robot ) using stepper motor.
/media/uploads/hayama/mbedrobotracer-manual-english.pdf
/media/uploads/hayama/mbedrobotracer-manual-japanese.pdf
/media/uploads/hayama/eagle-design-robotracer.zip
movie -> https://www.youtube.com/watch?v=INwun8gSds4
(for competition->) https://www.youtube.com/watch?v=l_gP2pUt4w0
mbed/LPC1768/system_LPC17xx.h@1:200aad416161, 2013-10-02 (annotated)
- Committer:
- hayama
- Date:
- Wed Oct 02 01:09:55 2013 +0000
- Revision:
- 1:200aad416161
- Parent:
- 0:da22b0b4395a
mbed robotracer for education.
;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
hayama | 0:da22b0b4395a | 1 | /****************************************************************************** |
hayama | 0:da22b0b4395a | 2 | * @file: system_LPC17xx.h |
hayama | 0:da22b0b4395a | 3 | * @purpose: CMSIS Cortex-M3 Device Peripheral Access Layer Header File |
hayama | 0:da22b0b4395a | 4 | * for the NXP LPC17xx Device Series |
hayama | 0:da22b0b4395a | 5 | * @version: V1.02 |
hayama | 0:da22b0b4395a | 6 | * @date: 27. July 2009 |
hayama | 0:da22b0b4395a | 7 | *---------------------------------------------------------------------------- |
hayama | 0:da22b0b4395a | 8 | * |
hayama | 0:da22b0b4395a | 9 | * Copyright (C) 2009 ARM Limited. All rights reserved. |
hayama | 0:da22b0b4395a | 10 | * |
hayama | 0:da22b0b4395a | 11 | * ARM Limited (ARM) is supplying this software for use with Cortex-M3 |
hayama | 0:da22b0b4395a | 12 | * processor based microcontrollers. This file can be freely distributed |
hayama | 0:da22b0b4395a | 13 | * within development tools that are supporting such ARM based processors. |
hayama | 0:da22b0b4395a | 14 | * |
hayama | 0:da22b0b4395a | 15 | * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED |
hayama | 0:da22b0b4395a | 16 | * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF |
hayama | 0:da22b0b4395a | 17 | * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. |
hayama | 0:da22b0b4395a | 18 | * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR |
hayama | 0:da22b0b4395a | 19 | * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER. |
hayama | 0:da22b0b4395a | 20 | * |
hayama | 0:da22b0b4395a | 21 | ******************************************************************************/ |
hayama | 0:da22b0b4395a | 22 | |
hayama | 0:da22b0b4395a | 23 | |
hayama | 0:da22b0b4395a | 24 | #ifndef __SYSTEM_LPC17xx_H |
hayama | 0:da22b0b4395a | 25 | #define __SYSTEM_LPC17xx_H |
hayama | 0:da22b0b4395a | 26 | |
hayama | 0:da22b0b4395a | 27 | #ifdef __cplusplus |
hayama | 0:da22b0b4395a | 28 | extern "C" { |
hayama | 0:da22b0b4395a | 29 | #endif |
hayama | 0:da22b0b4395a | 30 | |
hayama | 0:da22b0b4395a | 31 | extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ |
hayama | 0:da22b0b4395a | 32 | |
hayama | 0:da22b0b4395a | 33 | |
hayama | 0:da22b0b4395a | 34 | /** |
hayama | 0:da22b0b4395a | 35 | * Initialize the system |
hayama | 0:da22b0b4395a | 36 | * |
hayama | 0:da22b0b4395a | 37 | * @param none |
hayama | 0:da22b0b4395a | 38 | * @return none |
hayama | 0:da22b0b4395a | 39 | * |
hayama | 0:da22b0b4395a | 40 | * @brief Setup the microcontroller system. |
hayama | 0:da22b0b4395a | 41 | * Initialize the System and update the SystemCoreClock variable. |
hayama | 0:da22b0b4395a | 42 | */ |
hayama | 0:da22b0b4395a | 43 | extern void SystemInit (void); |
hayama | 0:da22b0b4395a | 44 | |
hayama | 0:da22b0b4395a | 45 | /** |
hayama | 0:da22b0b4395a | 46 | * Update SystemCoreClock variable |
hayama | 0:da22b0b4395a | 47 | * |
hayama | 0:da22b0b4395a | 48 | * @param none |
hayama | 0:da22b0b4395a | 49 | * @return none |
hayama | 0:da22b0b4395a | 50 | * |
hayama | 0:da22b0b4395a | 51 | * @brief Updates the SystemCoreClock with current core Clock |
hayama | 0:da22b0b4395a | 52 | * retrieved from cpu registers. |
hayama | 0:da22b0b4395a | 53 | */ |
hayama | 0:da22b0b4395a | 54 | extern void SystemCoreClockUpdate (void); |
hayama | 0:da22b0b4395a | 55 | |
hayama | 0:da22b0b4395a | 56 | #ifdef __cplusplus |
hayama | 0:da22b0b4395a | 57 | } |
hayama | 0:da22b0b4395a | 58 | #endif |
hayama | 0:da22b0b4395a | 59 | |
hayama | 0:da22b0b4395a | 60 | #endif /* __SYSTEM_LPC17xx_H */ |