aboutsummaryrefslogtreecommitdiff
path: root/example/blink.c
diff options
context:
space:
mode:
authorUwe Hermann2009-07-18 16:20:32 +0200
committerUwe Hermann2009-07-18 16:20:32 +0200
commit3262983d27ee15fefeaa2efbe9a903f5364d7ee2 (patch)
tree6f78b972dcede164571e79df470a53adeeabf02c /example/blink.c
parentd43224acfbb31e23c2b3a6b7ea38626a7d4fbe21 (diff)
Add initial GPIO API implementation.
This currently includes a number of basic functions. Example usage: gpio_set_mode(GPIOC, GPIO_MODE_OUTPUT_2_MHZ, GPIO_CNF_OUTPUT_PUSHPULL, GPIO12); gpio_set(GPIOB, GPIO4); gpio_clear(GPIOG, GPIO2 | GPIO9); gpio_toggle(GPIOA, GPIO7); reg16 = gpio_port_read(GPIOD); gpio_port_write(GPIOF, 0xc8fe);
Diffstat (limited to 'example/blink.c')
0 files changed, 0 insertions, 0 deletions