From: Murat Koç (murat.koc@frontsite.com.tr)
Date: Wed 22 Sep 2004 - 15:15:19 EEST
Selam,
> > 2.6 kerneldan seninkine uyarlarsak
> >
> > #define GPIO_GPIO14 (0x00000001 << (14))
> > #define GPDR __REG(0x90040004)
> >
> > #define LED_STATE_ENABLED 1
> >
> > static unsigned int led_state;
> > static unsigned int hw_led_state;
> >
> > #define LED_23 GPIO_GPIO23
> > #define LED_MASK (LED_23)
> >
> > GPDR |= LED_23;
Bu 23 ler 14 olacak tabii :)
-- __________ | | | | Murat Koç | | Manager & IT Consultant | FRONT | |==========| FrontSITE Bilgi Teknolojisi A.Ş. |_____SITE_| http://www.frontsite.com.tr/