arduino - Functions used in ASF instead of IODIR, IOSET, PORTD -


i have programmed microcontroller before , used instructions iodir, ioset, portd, ddrd , etc. using arduino due have atsam3x8e cortex m3 microcontroller. iam programming arduino due using atmel studio 6. have figured out sam3x microcontroller don't use iodir, ioset, portd. question if functions corresponds iodir, ioset , portd. using atmel software framework (asf) program.

for example how do using atmel software framework (asf): portd &= ~(1 << rs);

check out gpio driver in asf under sam/drivers/gpio. contains functions gpio_set_pin_high(pin) , gpio_set_pin_low(pin) used control io pins.


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -