diff options
author | Kleidi Bujari <mail@4kb.net> | 2024-10-04 17:30:14 -0400 |
---|---|---|
committer | Kleidi Bujari <mail@4kb.net> | 2024-10-04 17:30:14 -0400 |
commit | e3d457d72f59bd442a3a8d13b311d7c8444e177d (patch) | |
tree | 96593538bb14d6791ea459a13b2d57eeadb6a1a8 /F2024/coe718/labs/lab1/Boards/Keil/MCB1700/Blinky_ULp/LED.h | |
parent | a8d741816ce8fd86fd985e772ee2103a559fbdae (diff) | |
download | uni-e3d457d72f59bd442a3a8d13b311d7c8444e177d.tar.gz uni-e3d457d72f59bd442a3a8d13b311d7c8444e177d.tar.bz2 uni-e3d457d72f59bd442a3a8d13b311d7c8444e177d.zip |
labs 1,2
Diffstat (limited to 'F2024/coe718/labs/lab1/Boards/Keil/MCB1700/Blinky_ULp/LED.h')
-rwxr-xr-x | F2024/coe718/labs/lab1/Boards/Keil/MCB1700/Blinky_ULp/LED.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/F2024/coe718/labs/lab1/Boards/Keil/MCB1700/Blinky_ULp/LED.h b/F2024/coe718/labs/lab1/Boards/Keil/MCB1700/Blinky_ULp/LED.h new file mode 100755 index 0000000..d933c4c --- /dev/null +++ b/F2024/coe718/labs/lab1/Boards/Keil/MCB1700/Blinky_ULp/LED.h @@ -0,0 +1,27 @@ +/*---------------------------------------------------------------------------- + * Name: LED.h + * Purpose: low level LED definitions + * Note(s): + *---------------------------------------------------------------------------- + * This file is part of the uVision/ARM development tools. + * This software may only be used under the terms of a valid, current, + * end user licence from KEIL for a compatible version of KEIL software + * development tools. Nothing else gives you the right to use this software. + * + * This software is supplied "AS IS" without warranties of any kind. + * + * Copyright (c) 2009-2011 Keil - An ARM Company. All rights reserved. + *----------------------------------------------------------------------------*/ + +#ifndef __LED_H +#define __LED_H + +/* LED Definitions */ +#define LED_NUM 8 /* Number of user LEDs */ + +extern void LED_Init(void); +extern void LED_On (unsigned int num); +extern void LED_Off (unsigned int num); +extern void LED_Out (unsigned int value); + +#endif |