nRF51 SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages

Pin Change Interrupt Example Application main file. More...

Functions

static void gpio_init (void)
 Function for configuring: pin 0 for input, pin 8 for output, and configures GPIOTE to give an interrupt on pin change.
 
void GPIOTE_IRQHandler (void)
 Function for handling the GPIOTE interrupt which is triggered on pin 0 change.
 
int main (void)
 Function for application main entry.
 

Detailed Description

This file contains the source code for a sample application using interrupts triggered by GPIO pins.

example_board_setup_a.jpg
Use board setup A for this example.