mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-14 09:03:50 +01:00
boards: drop unused BTN0_PORT define
This commit is contained in:
parent
c107d7377e
commit
f39e502eaf
@ -66,7 +66,6 @@ extern "C" {
|
||||
* @name SW0 (Button) pin definitions
|
||||
* @{
|
||||
*/
|
||||
#define BTN0_PORT _PORT->Group[PA]
|
||||
#define BTN0_PIN GPIO_PIN(PA, 27)
|
||||
#define BTN0_MODE GPIO_IN_PU
|
||||
/** @} */
|
||||
|
||||
@ -68,7 +68,6 @@ extern "C" {
|
||||
* @name Button pin definitions
|
||||
* @{
|
||||
*/
|
||||
#define BTN0_PORT PORT->Group[0]
|
||||
#define BTN0_PIN GPIO_PIN(0, 18)
|
||||
#define BTN0_MODE GPIO_IN_PU
|
||||
/** @} */
|
||||
|
||||
@ -58,7 +58,6 @@ extern "C"
|
||||
* @name Macro for button S1/S2.
|
||||
* @{
|
||||
*/
|
||||
#define BTN0_PORT PORTD
|
||||
#define BTN0_PIN GPIO_PIN(PORT_D, 1)
|
||||
#define BTN0_MODE GPIO_IN_PU
|
||||
/** @} */
|
||||
|
||||
@ -56,7 +56,6 @@ extern "C" {
|
||||
* @name SW0 (Button) pin definitions
|
||||
* @{
|
||||
*/
|
||||
#define BTN0_PORT PORT->Group[PA]
|
||||
#define BTN0_PIN GPIO_PIN(PA, 25)
|
||||
#define BTN0_MODE GPIO_IN_PU
|
||||
/** @} */
|
||||
|
||||
@ -54,7 +54,6 @@ extern "C" {
|
||||
* @name SW0 (Button) pin definitions
|
||||
* @{
|
||||
*/
|
||||
#define BTN0_PORT PORT->Group[PA]
|
||||
#define BTN0_PIN GPIO_PIN(PA, 15)
|
||||
#define BTN0_MODE GPIO_IN_PU
|
||||
/** @} */
|
||||
|
||||
@ -57,7 +57,6 @@ extern "C" {
|
||||
* @name SW0 (Button) pin definitions
|
||||
* @{
|
||||
*/
|
||||
#define BTN0_PORT PORT->Group[PA]
|
||||
#define BTN0_PIN GPIO_PIN(PA, 15)
|
||||
#define BTN0_MODE GPIO_IN_PU
|
||||
/** @} */
|
||||
|
||||
@ -63,7 +63,6 @@ extern "C" {
|
||||
* @name SW0 (Button) pin definitions
|
||||
* @{
|
||||
*/
|
||||
#define BTN0_PORT PORT->Group[PB]
|
||||
#define BTN0_PIN GPIO_PIN(PB, 31)
|
||||
#define BTN0_MODE GPIO_IN_PU
|
||||
/** @} */
|
||||
|
||||
@ -44,7 +44,6 @@ extern "C" {
|
||||
* @name SW0 (Button) pin definitions
|
||||
* @{
|
||||
*/
|
||||
#define BTN0_PORT PORT->Group[PA]
|
||||
#define BTN0_PIN GPIO_PIN(PA, 2)
|
||||
#define BTN0_MODE GPIO_IN_PU
|
||||
/** @} */
|
||||
|
||||
@ -75,7 +75,6 @@ extern "C" {
|
||||
* @name SW0 (Button) pin definitions
|
||||
* @{
|
||||
*/
|
||||
#define BTN0_PORT PORT->Group[0]
|
||||
#define BTN0_PIN GPIO_PIN(0, 28)
|
||||
#define BTN0_MODE GPIO_IN_PU
|
||||
/** @} */
|
||||
|
||||
@ -62,7 +62,6 @@ extern "C" {
|
||||
* @name BTN0 (SW0 Button) pin definitions
|
||||
* @{
|
||||
*/
|
||||
#define BTN0_PORT PORT->Group[0]
|
||||
#define BTN0_PIN GPIO_PIN(PA, 28)
|
||||
#define BTN0_MODE GPIO_IN_PU
|
||||
/** @} */
|
||||
|
||||
@ -72,7 +72,6 @@ extern "C" {
|
||||
* @name BTN0 (SW0 Button) pin definitions
|
||||
* @{
|
||||
*/
|
||||
#define BTN0_PORT PORT->Group[0] /**< GPIO port */
|
||||
#define BTN0_PIN GPIO_PIN(PA, 28) /**< GPIO pin */
|
||||
#define BTN0_MODE GPIO_IN_PU /**< Pull Up GPIO */
|
||||
/** @} */
|
||||
|
||||
@ -56,7 +56,6 @@ extern "C" {
|
||||
* @name SW0 (Button) pin definitions
|
||||
* @{
|
||||
*/
|
||||
#define BTN0_PORT PORT->Group[PA]
|
||||
#define BTN0_PIN GPIO_PIN(PA, 20)
|
||||
#define BTN0_MODE GPIO_IN_PU
|
||||
/** @} */
|
||||
|
||||
@ -48,7 +48,6 @@ extern "C" {
|
||||
* @{
|
||||
*/
|
||||
#define BTN0_PIN GPIO_PIN(PORT_A, 0)
|
||||
#define BTN0_PORT GPIOA
|
||||
#define BTN0_MODE GPIO_IN
|
||||
/** @} */
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user