DOKK / manpages / debian 13 / avr-libc / __builtin_avr_swap.3avr.en
avr_builtins(3avr) avr_builtins(3avr)

avr_builtins - <avr/builtins.h>: avr-gcc builtins documentation


void __builtin_avr_sei (void)
void __builtin_avr_cli (void)
void __builtin_avr_sleep (void)
void __builtin_avr_wdr (void)
uint8_t __builtin_avr_swap (uint8_t __b)
uint16_t __builtin_avr_fmul (uint8_t __a, uint8_t __b)
int16_t __builtin_avr_fmuls (int8_t __a, int8_t __b)
int16_t __builtin_avr_fmulsu (int8_t __a, uint8_t __b)

#include <avr/builtins.h> 

Note

This file only documents some avr-gcc builtins. For functions built-in in the compiler, there should be no prototype declarations.

See also the GCC documentation for a full list of avr-gcc builtins.

Disables all interrupts by clearing the global interrupt mask.

uint16_t __builtin_avr_fmul (uint8_t __a, uint8_t __b) [extern]

Emits an FMUL (fractional multiply unsigned) instruction.

int16_t __builtin_avr_fmuls (int8_t __a, int8_t __b) [extern]

Emits an FMUL (fractional multiply signed) instruction.

int16_t __builtin_avr_fmulsu (int8_t __a, uint8_t __b) [extern]

Emits an FMUL (fractional multiply signed with unsigned) instruction.

Enables interrupts by setting the global interrupt mask.

Emits a SLEEP instruction.

uint8_t __builtin_avr_swap (uint8_t __b) [extern]

Emits a SWAP (nibble swap) instruction on __b.

Emits a WDR (watchdog reset) instruction.

Generated automatically by Doxygen for AVR-LibC from the source code.

Version 2.2.1 AVR-LibC