Proposed deduplication of peripherals, GPIO example

See rambling post on dev list for justification
This commit is contained in:
Ken Sarkies
2012-11-03 15:56:35 +10:30
committed by Ken Sarkies
parent d08d366e75
commit 4ab5c94b90
13 changed files with 163 additions and 731 deletions

View File

@@ -1,8 +1,14 @@
/** @defgroup gpio_file GPIO
@ingroup STM32F2xx
@brief <b>libopencm3 STM32F2xx General Purpose I/O</b>
*/
/*
* This file is part of the libopencm3 project.
*
* Copyright (C) 2011 Fergus Noble <fergusnoble@gmail.com>
*
* This library is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
@@ -148,3 +154,4 @@ void gpio_port_config_lock(u32 gpioport, u16 gpios)
/* If (reg32 & GPIO_LCKK) is true, the lock is now active. */
}