getport added
This commit is contained in:
parent
64210a94ec
commit
b9a4e2b393
2
Makefile
2
Makefile
@ -17,7 +17,7 @@ LIBSRC = uart_init_.c uart_send_chr.c uart_send_str.c \
|
|||||||
rotary_encoder_stat.c \
|
rotary_encoder_stat.c \
|
||||||
sevenseg_dec.c sevenseg_dec_inv.c \
|
sevenseg_dec.c sevenseg_dec_inv.c \
|
||||||
int_to_bcd.c getbutton.c \
|
int_to_bcd.c getbutton.c \
|
||||||
getpin.c setpin_lo.c setpin_hi.c setpin.c
|
getpin.c setpin_lo.c setpin_hi.c setpin.c getport.c
|
||||||
|
|
||||||
LIBOBJ =$(patsubst %.c,%.rel, $(LIBSRC))
|
LIBOBJ =$(patsubst %.c,%.rel, $(LIBSRC))
|
||||||
LIBNAME=mc8051fun.lib
|
LIBNAME=mc8051fun.lib
|
||||||
|
@ -66,6 +66,7 @@ void setpin_hi(i8051pin_T *pin);
|
|||||||
void setpin_lo(i8051pin_T *pin);
|
void setpin_lo(i8051pin_T *pin);
|
||||||
int getpin(i8051pin_T *pin);
|
int getpin(i8051pin_T *pin);
|
||||||
void setpin(i8051pin_T *pin, uint8_t val);
|
void setpin(i8051pin_T *pin, uint8_t val);
|
||||||
|
uint8_t getport(int n);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user