Runtime
Version 1.0
PULP Kernel Library
|
Functions | |
int | __builtin_pulp_spr_read (int spr) |
Reads special purpose register spr. More... | |
int | __builtin_pulp_spr_read_vol (int spr) |
Reads special purpose register spr. Read is volatile. More... | |
void | __builtin_pulp_spr_write (int spr, int x) |
Writes x into special purpose register spr. More... | |
void | __builtin_pulp_spr_bit_set (int spr, int off) |
Sets bit off of special purpose register spr. off is immediare in [0..31]. More... | |
void | __builtin_pulp_spr_bit_clr (int spr, int off) |
Clears bit off of special purpose register spr. off is immediare in [0..31]. More... | |
int | __builtin_pulp_read_then_spr_write (int spr, int x) |
Reads spr special purpose register and then writes x it. Returns the read content. More... | |
int | __builtin_pulp_read_then_spr_bit_set (int spr, int off) |
Reads spr special purpose register and then sets bit at position off of spr. off is immediate in [0..31]. More... | |
int | __builtin_pulp_read_then_spr_bit_clr (int spr, int off) |
Reads spr special purpose register and then clears bit at position off of spr. off is immediate in [0..31]. More... | |
int __builtin_pulp_read_then_spr_bit_clr | ( | int | spr, |
int | off | ||
) |
Reads spr special purpose register and then clears bit at position off of spr. off is immediate in [0..31].
Available macros:
gap8_sprreadthenbitclr(spr, off) __SPRREADTHENBITCLR(spr, off)
spr | Special purpose register number |
off | Bit offset, immediate in [0..31] |
Referenced by __SPRREADTHENBITCLR(), and gap8_sprreadthenbitclr().
int __builtin_pulp_read_then_spr_bit_set | ( | int | spr, |
int | off | ||
) |
Reads spr special purpose register and then sets bit at position off of spr. off is immediate in [0..31].
Available macros:
gap8_sprreadthenbitset(spr, off) __SPRREADTHENBITSET(spr, off)
spr | Special purpose register number |
off | Bit offset, immediate in [0..31] |
Referenced by __SPRREADTHENBITSET(), and gap8_sprreadthenbitset().
int __builtin_pulp_read_then_spr_write | ( | int | spr, |
int | x | ||
) |
Reads spr special purpose register and then writes x it. Returns the read content.
Available macros:
gap8_sprreadthenwrite(spr, x) __SPRREADTHENWRITE(spr, x)
spr | Special purpose register number |
x | Value to be written |
Referenced by __SPRREADTHENWRITE(), and gap8_sprreadthenwrite().
void __builtin_pulp_spr_bit_clr | ( | int | spr, |
int | off | ||
) |
Clears bit off of special purpose register spr. off is immediare in [0..31]
Available macros:
gap8_sprbitclr(spr, off) __SPRBITCLR(spr, off)
spr | Special purpose register number |
off | Bit offset, immediate in [0..31] |
Referenced by __SPRBITCLR(), and gap8_sprbitclr().
void __builtin_pulp_spr_bit_set | ( | int | spr, |
int | off | ||
) |
Sets bit off of special purpose register spr. off is immediare in [0..31]
Available macros:
gap8_sprbitset(spr, off) __SPRBITSET(spr, off)
spr | Special purpose register number |
off | Bit offset, immediate in [0..31] |
Referenced by __SPRBITSET(), and gap8_sprbitset().
int __builtin_pulp_spr_read | ( | int | spr | ) |
Reads special purpose register spr.
Available macros:
gap8_sprread(spr) __SPRREAD(spr)
spr | Special purpose register number |
Referenced by __SPRREAD(), and gap8_sprread().
int __builtin_pulp_spr_read_vol | ( | int | spr | ) |
Reads special purpose register spr. Read is volatile.
Available macros:
gap8_sprread_vol(spr) __SPRREAD_VOL(spr)
spr | Special purpose register number |
Referenced by __SPRREAD_VOL(), and gap8_sprread_vol().
void __builtin_pulp_spr_write | ( | int | spr, |
int | x | ||
) |
Writes x into special purpose register spr.
Available macros:
gap8_sprwrite(spr, x) __SPRWRITE(spr, x)
spr | Special purpose register number |
x | Value to be written |
Referenced by __SPRWRITE(), and gap8_sprwrite().