console.h 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /*
  2. ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. */
  13. /**
  14. * @file console.h
  15. * @brief Simulator console driver header.
  16. * @{
  17. */
  18. #ifndef CONSOLE_H
  19. #define CONSOLE_H
  20. /*===========================================================================*/
  21. /* Driver constants. */
  22. /*===========================================================================*/
  23. /*===========================================================================*/
  24. /* Driver pre-compile time settings. */
  25. /*===========================================================================*/
  26. /*===========================================================================*/
  27. /* Derived constants and error checks. */
  28. /*===========================================================================*/
  29. /*===========================================================================*/
  30. /* Driver data structures and types. */
  31. /*===========================================================================*/
  32. /*===========================================================================*/
  33. /* Driver macros. */
  34. /*===========================================================================*/
  35. /*===========================================================================*/
  36. /* External declarations. */
  37. /*===========================================================================*/
  38. extern BaseChannel CD1;
  39. #ifdef __cplusplus
  40. extern "C" {
  41. #endif
  42. void conInit(void);
  43. #ifdef __cplusplus
  44. }
  45. #endif
  46. #endif /* CONSOLE_H */
  47. /** @} */