deprecated(3avr)
✨ NAME ✨
deprecated — the Deprecated List 💀 aka the graveyard of things that still work but like… shouldn't anymore
okay bestie, listen up 🫶 this page is basically the ✨hall of fame for functions that have been cancelled✨. They're still in AVR-LibC so your old code doesn't explode, but if you're writing new code? Do not. I repeat. Do not. Use the shiny replacements instead, iykyk.
Here's the full list of globals that are giving major "it's 2003 in here" energy:
cbi (port, bit)— deprecated, bestie. RIP 🪦enable_external_int (mask)— also on the deprecated list, no capinb (port)— yeah, this one too 🙈inp (port)— and its bestieinp, also deprecatedINTERRUPT (signame)— deprecated, the whole uppercase yell vibe is overISR_ALIAS (vector, target_vector)— deprecated! For new code, the use ofISR(..., ISR_ALIASOF(...))is recommended 💅 like, that's the correct way nowoutb (port, val)— deprecated, sadlyoutp (val, port)— deprecated too, and yes the arg order is(val, port), mind the swap ✨sbi (port, bit)— deprecated, it's giving legacySIGNAL (vector)— 🚨 Do not useSIGNAL()in new code. UseISR()instead. 🚨 this one said it directly, so like… take the hinttimer_enable_int (unsigned char ints)— deprecated, and it even takes anunsigned charcalledints, iconic
real talk: deprecated ≠ deleted, so nothing here is gonna break on you today. But it's lowkey on the way out, and using it in fresh code is a choice you will regret. Just use the modern replacements, queen 👑
that's the whole page, bestie 💜 this came from the AVR-LibC manual, Version 2.2.1 — mwah, slay, go write some ISR()s 💅✨🎀
📦 where this page comes from
- ubuntu resolute: avr-libc 1:2.2.1-1build1 · BSD-3-Clause
- ubuntu stonking: avr-libc 1:2.2.1-1build1 · BSD-3-Clause
- 💖 girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms