r@  ( r:n -- n )

publication: 29 décembre 2023 / mis à jour 29 décembre 2023

Read this page in english

 

Duplique la valeur qui est au somment de la pile de retour sur la pile de données.

Exemple:

\ Initializes the GPIOx peripheral in GPIO_IN direction 
: gpio_init ( gpio -- ) 
    >r 
    r@ GPIO_IN gpio_set_dir 
    r@ GPIO_LOW gpio_put 
    r> GPIO_FUNC_SIO gpio_set_function 
  ; 

Legal: site web personnel sans commerce / personal site without seling