[−][src]Function avr_mcu::current::mcu_name
pub fn mcu_name() -> Option<String>
Gets the name of the microcontroller being targeted.
Returns None
if the target architecture is not AVR.
When targeting AVR, this function will always return Some(mcu_name)
.
Example results
Some("atmega328")
Some("attiny85")
None