2009-12-03 18:24:42 +01:00
|
|
|
/****************************************************************************
|
2020-01-22 21:11:27 +01:00
|
|
|
* boards/hc/m9s12/demo9s12ne64/src/m9s12_leds.c
|
2009-12-03 18:24:42 +01:00
|
|
|
*
|
2021-03-16 15:42:26 +01:00
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
* contributor license agreements. See the NOTICE file distributed with
|
|
|
|
* this work for additional information regarding copyright ownership. The
|
|
|
|
* ASF licenses this file to you under the Apache License, Version 2.0 (the
|
|
|
|
* "License"); you may not use this file except in compliance with the
|
|
|
|
* License. You may obtain a copy of the License at
|
2009-12-03 18:24:42 +01:00
|
|
|
*
|
2021-03-16 15:42:26 +01:00
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
2009-12-03 18:24:42 +01:00
|
|
|
*
|
2021-03-16 15:42:26 +01:00
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
|
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
|
|
* License for the specific language governing permissions and limitations
|
|
|
|
* under the License.
|
2009-12-03 18:24:42 +01:00
|
|
|
*
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
/****************************************************************************
|
|
|
|
* Included Files
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
#include <nuttx/config.h>
|
|
|
|
|
|
|
|
#include <debug.h>
|
|
|
|
|
2015-02-28 01:49:24 +01:00
|
|
|
#include <nuttx/board.h>
|
2009-12-03 18:24:42 +01:00
|
|
|
#include <arch/board/board.h>
|
|
|
|
|
|
|
|
#include "demo9s12ne64.h"
|
|
|
|
|
|
|
|
/****************************************************************************
|
|
|
|
* Public Functions
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
/****************************************************************************
|
2015-11-01 16:03:01 +01:00
|
|
|
* Name: board_autoled_initialize
|
2009-12-11 16:29:11 +01:00
|
|
|
*
|
|
|
|
* Description:
|
|
|
|
* Configure and initialize on-board LEDs
|
|
|
|
*
|
2009-12-03 18:24:42 +01:00
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
#ifdef CONFIG_ARCH_LEDS
|
2015-11-01 16:03:01 +01:00
|
|
|
void board_autoled_initialize(void)
|
2009-12-03 18:24:42 +01:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
/****************************************************************************
|
2015-11-01 16:07:36 +01:00
|
|
|
* Name: board_autoled_on
|
2009-12-03 18:24:42 +01:00
|
|
|
****************************************************************************/
|
|
|
|
|
2015-11-01 16:07:36 +01:00
|
|
|
void board_autoled_on(int led)
|
2009-12-03 18:24:42 +01:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
/****************************************************************************
|
2015-11-01 16:10:08 +01:00
|
|
|
* Name: board_autoled_off
|
2009-12-03 18:24:42 +01:00
|
|
|
****************************************************************************/
|
|
|
|
|
2015-11-01 16:10:08 +01:00
|
|
|
void board_autoled_off(int led)
|
2009-12-03 18:24:42 +01:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* CONFIG_ARCH_LEDS */
|