From f5a3976c393fffdc95627f27d4c49136fa9ec8ca Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 26 Mar 2012 09:13:37 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4055 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32L1xx/hal_lld.h | 10 +++++----- os/hal/platforms/STM32L1xx/platform.dox | 2 +- os/hal/platforms/STM32L1xx/stm32_dma.c | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'os/hal/platforms/STM32L1xx') diff --git a/os/hal/platforms/STM32L1xx/hal_lld.h b/os/hal/platforms/STM32L1xx/hal_lld.h index 9f47c4da5..8b341dab8 100644 --- a/os/hal/platforms/STM32L1xx/hal_lld.h +++ b/os/hal/platforms/STM32L1xx/hal_lld.h @@ -149,10 +149,10 @@ * @{ */ #define STM32_MSIRANGE_MASK (7 << 13) /**< MSIRANGE field mask. */ -#define STM32_MSIRANGE_64K (0 << 13) /**< 64KHz nominal. */ -#define STM32_MSIRANGE_128K (1 << 13) /**< 128KHz nominal. */ -#define STM32_MSIRANGE_256K (2 << 13) /**< 256KHz nominal. */ -#define STM32_MSIRANGE_512K (3 << 13) /**< 512KHz nominal. */ +#define STM32_MSIRANGE_64K (0 << 13) /**< 64kHz nominal. */ +#define STM32_MSIRANGE_128K (1 << 13) /**< 128kHz nominal. */ +#define STM32_MSIRANGE_256K (2 << 13) /**< 256kHz nominal. */ +#define STM32_MSIRANGE_512K (3 << 13) /**< 512kHz nominal. */ #define STM32_MSIRANGE_1M (4 << 13) /**< 1MHz nominal. */ #define STM32_MSIRANGE_2M (5 << 13) /**< 2MHz nominal. */ #define STM32_MSIRANGE_4M (6 << 13) /**< 4MHz nominal */ @@ -677,7 +677,7 @@ #error "impossible to activate LSE" #endif #if (STM32_LSECLK < 1000) || (STM32_LSECLK > 1000000) -#error "STM32_LSECLK outside acceptable range (1...1000KHz)" +#error "STM32_LSECLK outside acceptable range (1...1000kHz)" #endif #else /* !STM32_LSE_ENABLED */ #if STM_RTCCLK == STM32_LSECLK diff --git a/os/hal/platforms/STM32L1xx/platform.dox b/os/hal/platforms/STM32L1xx/platform.dox index 744f1b673..fe845811e 100644 --- a/os/hal/platforms/STM32L1xx/platform.dox +++ b/os/hal/platforms/STM32L1xx/platform.dox @@ -305,7 +305,7 @@ * @section stm32l1xx_rcc_2 STM32L1xx RCC driver implementation features * - Peripherals reset. * - Peripherals clock enable. - * - Periplerals clock disable. + * - Peripherals clock disable. * . * @ingroup STM32L1xx_PLATFORM_DRIVERS */ diff --git a/os/hal/platforms/STM32L1xx/stm32_dma.c b/os/hal/platforms/STM32L1xx/stm32_dma.c index 85841ad9f..0e6d52404 100644 --- a/os/hal/platforms/STM32L1xx/stm32_dma.c +++ b/os/hal/platforms/STM32L1xx/stm32_dma.c @@ -29,7 +29,7 @@ * drivers to coordinate the access to the resource. * @note The DMA ISR handlers are all declared into this module because * sharing, the various device drivers can associate a callback to - * IRSs when allocating streams. + * ISRs when allocating streams. * @{ */ -- cgit v1.2.3