#include "mc8051fun.h" void setpin(i8051pin_T *pin, uint8_t val) { if (val) setpin_hi(pin); else setpin_lo(pin); }