#include <Arduino.h>
Go to the source code of this file.
|
#define | divu1(n) (unsigned int)((unsigned int)n) |
|
#define | divu2(n) (unsigned int)((unsigned int)n >> 1) |
|
#define | divu4(n) (unsigned int)((unsigned int)n >> 2) |
|
#define | divu8(n) (unsigned int)((unsigned int)n >> 3) |
|
|
void | divmod10 (uint32_t in, uint32_t &div, uint8_t &mod) __attribute__((noinline)) |
|
unsigned int | divu10 (unsigned int n) asm("divu10helper") __attribute__((noinline)) |
|
unsigned int | divu11 (unsigned int n) __attribute__((noinline)) |
|
unsigned int | divu12 (unsigned int n) asm("divu12helper") __attribute__((noinline)) |
|
unsigned int | divu14 (unsigned int n) __attribute__((noinline)) |
|
unsigned int | divu15 (unsigned int n) __attribute__((noinline)) |
|
unsigned int | divu20 (unsigned int n) __attribute__((noinline)) |
|
unsigned int | divu24 (unsigned int n) __attribute__((noinline)) |
|
unsigned int | divu3 (unsigned int n) __attribute__((noinline)) |
|
unsigned int | divu30 (unsigned int n) asm("divu30helper") __attribute__((noinline)) |
|
unsigned int | divu5 (unsigned int n) __attribute__((noinline)) |
|
unsigned int | divu6 (unsigned int n) asm("divu6helper") __attribute__((noinline)) |
|
unsigned int | divu60 (unsigned int n) __attribute__((noinline)) |
|
unsigned int | divu7 (unsigned int n) __attribute__((noinline)) |
|
unsigned int | divu9 (unsigned int n) __attribute__((noinline)) |
|
◆ divu1
#define divu1 |
( |
|
n | ) |
(unsigned int)((unsigned int)n) |
◆ divu2
#define divu2 |
( |
|
n | ) |
(unsigned int)((unsigned int)n >> 1) |
◆ divu4
#define divu4 |
( |
|
n | ) |
(unsigned int)((unsigned int)n >> 2) |
◆ divu8
#define divu8 |
( |
|
n | ) |
(unsigned int)((unsigned int)n >> 3) |
◆ divmod10()
void divmod10 |
( |
uint32_t |
in, |
|
|
uint32_t & |
div, |
|
|
uint8_t & |
mod |
|
) |
| |
◆ divu10()
unsigned int divu10 |
( |
unsigned int |
n | ) |
|
◆ divu11()
unsigned int divu11 |
( |
unsigned int |
n | ) |
|
◆ divu12()
unsigned int divu12 |
( |
unsigned int |
n | ) |
|
◆ divu14()
unsigned int divu14 |
( |
unsigned int |
n | ) |
|
◆ divu15()
unsigned int divu15 |
( |
unsigned int |
n | ) |
|
◆ divu20()
unsigned int divu20 |
( |
unsigned int |
n | ) |
|
◆ divu24()
unsigned int divu24 |
( |
unsigned int |
n | ) |
|
◆ divu3()
unsigned int divu3 |
( |
unsigned int |
n | ) |
|
◆ divu30()
unsigned int divu30 |
( |
unsigned int |
n | ) |
|
◆ divu5()
unsigned int divu5 |
( |
unsigned int |
n | ) |
|
◆ divu6()
unsigned int divu6 |
( |
unsigned int |
n | ) |
|
◆ divu60()
unsigned int divu60 |
( |
unsigned int |
n | ) |
|
◆ divu7()
unsigned int divu7 |
( |
unsigned int |
n | ) |
|
◆ divu9()
unsigned int divu9 |
( |
unsigned int |
n | ) |
|