Example #1
0
static PyObject *
PyBCM2835_gpio_clr_ren(PyObject *self, PyObject *args)
{
	uint8_t pin;

	if (!PyArg_ParseTuple(args,"i",&pin)) {
		return NULL;
	}

	bcm2835_gpio_clr_ren(pin);

	Py_RETURN_NONE;
}
Example #2
0
/**
 * @brief Disables detection of rising edge.
 * @param pin Pin to be configured, Available pin definitons are defined in the Utitlies.h
 * @return none
 */
void DisableDetectRisingEdge(PIN_t pin)
{
	bcm2835_gpio_clr_ren(pin);		//Disable rising edge detect on pin
}
Example #3
0
/**
 * @brief Disables detection of low level.
 * @param pin Pin to be configured, Available pin definitons are defined in the Utitlies.h
 * @return none
 */
void DisableDetectLowLevel(PIN_t pin)
{
	bcm2835_gpio_clr_ren(pin);		//Disable rising edge detect on pin
}
//void bcm2835_gpio_clr_ren(uint8_t pin);
/// Call bcm2835_gpio_clr_ren with 1 parameter
/// \par            Refer
/// \par            Modify
void ope_gpio_clr_ren(void)
{
    get_byte_code();
    bcm2835_gpio_clr_ren( *((uint8_t *)(buff+1)) );
}