51 bcm2835_gpio_fsel(pin, BCM2835_GPIO_FSEL_OUTP);
62 bcm2835_gpio_write(pin, level);
72 bcm2835_gpio_fsel(pin,BCM2835_GPIO_FSEL_INPT);
73 bcm2835_gpio_set_pud(pin, BCM2835_GPIO_PUD_DOWN);
85 bcm2835_gpio_ren(pin);
95 bcm2835_gpio_clr_ren(pin);
105 bcm2835_gpio_ren(pin);
115 bcm2835_gpio_clr_ren(pin);
125 bcm2835_gpio_ren(pin);
135 bcm2835_gpio_clr_ren(pin);
145 bcm2835_gpio_ren(pin);
155 bcm2835_gpio_clr_ren(pin);
165 bcm2835_gpio_aren(pin);
175 bcm2835_gpio_clr_aren(pin);
185 unsigned char event = bcm2835_gpio_eds(pin);
186 bcm2835_gpio_set_eds(pin);
void pinModeOutput(PIN_t pin)
Configures the given pin as output.
void DisableDetectRisingEdge(PIN_t pin)
Disables detection of rising edge.
void EnableDetectFallingEdge(PIN_t pin)
Enables detection of falling edge.
void DisableDetectFallinggEdge(PIN_t pin)
Dsiables detection of falling edge.
void DisableDetectRisingInterrupt(PIN_t pin)
Disables detection of rising edge interrupt.
void EnableDetectRisingEdge(PIN_t pin)
Enables detection of rising edge.
unsigned char CheckPinforEvent(PIN_t pin)
Checks fro even on given pin.
PinLevel_t ReadPinStatus(PIN_t pin)
Configures the pins as input and returns the pin status.
void EnableDetectLowLevel(PIN_t pin)
Enables detection of low level.
void DisableDetectHighLevel(PIN_t pin)
Disables detection of high level.
void delay_ms(unsigned int ms)
Delay in ms.
void digitalWrite(PIN_t pin, unsigned char level)
Write a logic level to the pin. The pin should be confgured as output.
void EnableDetectHighLevel(PIN_t pin)
Enables detection of high level on pin.
void DisableDetectLowLevel(PIN_t pin)
Disables detection of low level.
void EnableDetectRisingInterrupt(PIN_t pin)
Enables detection of rising edge interrupt.