cancel
Showing results for 
Search instead for 
Did you mean: 

How to write directly to the microcontroller port (eg STM32F030K6)?

mchaurais
Associate
 
1 REPLY 1
T J
Lead

You could write pin,,

   HAL_GPIO_WritePin(LIS3DE_nSS_GPIO_Port, LIS3DE_nSS_Pin, GPIO_PIN_RESET);

or the whole port.

GPIOA->ODR = 0x55AA;