Scroll to navigation

avr_builtins(3avr) avr_builtins(3avr)

NAME

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

SYNOPSIS

Functions


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)

Detailed Description

#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.

Function Documentation

void __builtin_avr_cli (void) [extern]

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.

void __builtin_avr_sei (void) [extern]

Enables interrupts by setting the global interrupt mask.

void __builtin_avr_sleep (void) [extern]

Emits a SLEEP instruction.

uint8_t __builtin_avr_swap (uint8_t __b) [extern]

Emits a SWAP (nibble swap) instruction on __b.

void __builtin_avr_wdr (void) [extern]

Emits a WDR (watchdog reset) instruction.

Author

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

Version 2.2.1 AVR-LibC