Home
last modified time | relevance | path

Searched refs:gpioa (Results 1 – 1 of 1) sorted by relevance

/device/google/contexthub/firmware/src/platform/stm32f4xx/
Dbl.c874 struct StmGpio *gpioa = (struct StmGpio*)GPIOA_BASE; in blSpiLoader() local
902 gpioa->AFR[0] = (gpioa->AFR[0] & 0x0000ffff & ~(0x0f << (intInPin * 4))) | 0x55550000; in blSpiLoader()
903 gpioa->OSPEEDR |= 0x0000ff00 | (3 << (intInPin * 2)); in blSpiLoader()
904 gpioa->PUPDR &=~ (0x0000ff00 | (3 << (intInPin * 2))); in blSpiLoader()
905 gpioa->OTYPER &=~ (0x00f0 | (1 << intInPin)); in blSpiLoader()
906 gpioa->MODER = (gpioa->MODER & 0xffff00ff & ~(0x03 << (intInPin * 2))) | 0x0000aa00; in blSpiLoader()
909 if (!(gpioa->IDR & (1 << intInPin)) || force) { in blSpiLoader()