|
AVR-LibC
2.3.0
Standard C library for AVR-GCC
|
AVR-LibC Manual |
![]() ![]() |
AVR-LibC Sources |
|||
Main Page |
User Manual |
Library Reference |
FAQ |
Example Projects |
Index |
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) |
| float | __builtin_powif (float base, int expo) |
| double | __builtin_powi (double base, int expo) |
| long double | __builtin_powil (long double base, int expo) |
See also the GCC documentation for a full list of avr-gcc builtins.
| void __builtin_avr_cli | ( | void | ) |
Disables all interrupts by clearing the global interrupt mask.
Emits an FMUL (fractional multiply unsigned) instruction.
Emits an FMUL (fractional multiply signed) instruction.
Emits an FMUL (fractional multiply signed with unsigned) instruction.
| void __builtin_avr_sei | ( | void | ) |
Enables interrupts by setting the global interrupt mask.
| void __builtin_avr_sleep | ( | void | ) |
Emits a SLEEP instruction.
| void __builtin_avr_wdr | ( | void | ) |
Emits a WDR (watchdog reset) instruction.
| double __builtin_powi | ( | double | base, |
| int | expo | ||
| ) |
Returns base raised to the power of expo. Since avr-gcc v15 this function is implemented in assembly.
| float __builtin_powif | ( | float | base, |
| int | expo | ||
| ) |
Returns base raised to the power of expo. Since avr-gcc v15 this function is implemented in assembly. See also the benchmarks.
| long double __builtin_powil | ( | long double | base, |
| int | expo | ||
| ) |
Returns base raised to the power of expo. Since avr-gcc v15 this function is implemented in assembly. See also the benchmarks.
1.9.6