simulator: add USB serial input field

This commit is contained in:
Joey Castillo
2022-05-09 12:55:58 -04:00
parent 21ee056e26
commit 22b1ac0283
5 changed files with 51 additions and 0 deletions

View File

@@ -41,3 +41,7 @@ void SYSTEM_Handler(void) {
bool watch_is_buzzer_or_led_enabled(void){
return hri_mclk_get_APBCMASK_TCC0_bit(MCLK);
}
bool watch_is_usb_enabled(void) {
return USB->DEVICE.CTRLA.bit.ENABLE;
}