a99dde8b38
current_source: add driver to read pd voltage
2024-01-10 10:38:05 +08:00
d1f7a20c15
ld_drive: Add fns to set ld output current
2024-01-10 10:38:05 +08:00
58a8b15c40
ld_drive: add unit type and hw related constant
2024-01-10 10:38:05 +08:00
590ba8171c
Add high level ld_drive mod
...
- Use current_source driver to interface with the board
2024-01-10 10:38:05 +08:00
0807f66b3c
Add digital gpio related fns to Current source
...
- power_up
- power_down
- ld_short_enable
- ld_short_disable
- Rev0_2 has hardware connection bug for LD_EN net.
- laser driver power will always be enabled
2024-01-10 10:38:05 +08:00
2953d4edde
Rewrite current_source obj and add gpio init
2024-01-10 10:38:05 +08:00
f2c026ffdd
Rewrite MAX5719 Driver into a separated file
2024-01-10 10:38:05 +08:00
c7d36bc8d5
Reorganize variables and fns structure
2024-01-10 10:38:00 +08:00
topquark12
1b3b121a2d
cleanup
2022-10-23 16:59:15 +08:00
topquark12
6867a293e5
squash (most) warnings, cleanup
2022-10-22 15:49:01 +08:00
topquark12
dbb1b03638
current source working
2022-10-22 01:58:18 +08:00
topquark12
361c2ff316
add gpio setup
2022-10-21 12:05:55 +08:00