minix/minix/lib/libsys/sys_padconf.c
Lionel Sambuc 433d6423c3 New sources layout
Change-Id: Ic716f336b7071063997cf5b4dae6d50e0b4631e9
2014-07-31 16:00:30 +02:00

14 lines
250 B
C

#include <stdint.h>
#include "syslib.h"
int sys_padconf(u32_t padconf, u32_t mask, u32_t value)
{
message m;
m.PADCONF_PADCONF = padconf;
m.PADCONF_MASK = mask;
m.PADCONF_VALUE = value;
return(_kernel_call(SYS_PADCONF, &m));
}