STM32 FastIO using register access (#12276)
This commit is contained in:
committed by
Scott Lahteine
parent
56057bcecd
commit
1946f729fd
@ -80,10 +80,16 @@ uint16_t HAL_adc_result;
|
||||
// HAL initialization task
|
||||
void HAL_init(void) {
|
||||
|
||||
FastIO_init();
|
||||
|
||||
#if ENABLED(SDSUPPORT)
|
||||
OUT_WRITE(SDSS, HIGH); // Try to set SDSS inactive before any other SPI users start up
|
||||
#endif
|
||||
|
||||
#if PIN_EXISTS(LED)
|
||||
OUT_WRITE(LED_PIN, LOW);
|
||||
#endif
|
||||
|
||||
#if ENABLED(EEPROM_EMULATED_WITH_SRAM)
|
||||
// Enable access to backup SRAM
|
||||
__HAL_RCC_PWR_CLK_ENABLE();
|
||||
|
Reference in New Issue
Block a user