| RTOS_MSPM0 1.1 ECE445M starter code

Functions
LD19.h File Reference
LD19

Initialize LD19, interrupt synchronization. More...

Go to the source code of this file.

## Functions
void | LD19_Init (uint16_t *d)
| Initialize LD19. More...
uint8_t | LD19_InChar (void)
uint32_t | LD19_InStatus (void)

## Detailed Description

Initialize LD19, interrupt synchronization.

LD19 initialization. UART3 230400 bps baud, 1 start, 8 data bits, 1 stop, no parity.

Version
  RTOS

Author
  Jonathan Valvano

Copyright
  Valvano 2025

Warning
  AS-IS

Note
  For more information see http://users.ece.utexas.edu/~valvano/

Date
  Nov 5, 2025

  LiDAR Sensor LD19 distance sensor interface
  Pin | LD19 | MSPM0
  --- | --- | ---
  1 | Tx | PB13 RxD: is UART3 Rx (LD19 to MSPM0)
  2 | PWM | PB12 GPIO write a 0 to run fastest (MSPM0 to LD19)
  3 | GND | ground
  4 | P5V | 5V

  UART3 is shared between LD19 and TFLuna3 (can have either but not both)