Ejemplo n.º 1
0
static PyObject *
chwtest_inlw(PyObject *self, PyObject *args)
{
	unsigned long int address;
	unsigned long int value; 
	if (!PyArg_ParseTuple(args, "l", &address))
		return NULL;
	value = inl_p(address);
	return Py_BuildValue("l", value);
}
Ejemplo n.º 2
0
DLLEXPORT unsigned int hal_inl_p(unsigned long port)
{
	return inl_p(port);
}