AVR-LibC  2.2.0
Standard C library for AVR-GCC
 

AVR-LibC Documentation

Logo

AVR-LibC Development Pages

Main Page

User Manual

Library Reference

FAQ

Example Projects

File List

Loading...
Searching...
No Matches
Functions
<avr/builtins.h>: avr-gcc builtins documentation

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

◆ __builtin_avr_cli()

void __builtin_avr_cli ( void  )

Disables all interrupts by clearing the global interrupt mask.

◆ __builtin_avr_fmul()

uint16_t __builtin_avr_fmul ( uint8_t  __a,
uint8_t  __b 
)

Emits an FMUL (fractional multiply unsigned) instruction.

◆ __builtin_avr_fmuls()

int16_t __builtin_avr_fmuls ( int8_t  __a,
int8_t  __b 
)

Emits an FMUL (fractional multiply signed) instruction.

◆ __builtin_avr_fmulsu()

int16_t __builtin_avr_fmulsu ( int8_t  __a,
uint8_t  __b 
)

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

◆ __builtin_avr_sei()

void __builtin_avr_sei ( void  )

Enables interrupts by setting the global interrupt mask.

◆ __builtin_avr_sleep()

void __builtin_avr_sleep ( void  )

Emits a SLEEP instruction.

◆ __builtin_avr_swap()

uint8_t __builtin_avr_swap ( uint8_t  __b)

Emits a SWAP (nibble swap) instruction on __b.

◆ __builtin_avr_wdr()

void __builtin_avr_wdr ( void  )

Emits a WDR (watchdog reset) instruction.