vrahane closed pull request #982: Requesting-lp5523_registers enum additions to lp5523.h URL: https://github.com/apache/mynewt-core/pull/982
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/hw/drivers/lp5523/include/lp5523/lp5523.h b/hw/drivers/lp5523/include/lp5523/lp5523.h index 0b8a758a9..465817447 100644 --- a/hw/drivers/lp5523/include/lp5523/lp5523.h +++ b/hw/drivers/lp5523/include/lp5523/lp5523.h @@ -92,6 +92,9 @@ enum lp5523_engine_control_registers { enum lp5523_registers { LP5523_ENABLE = 0x00, + LP5523_LED_OUTPUT_CTRL = 0x05, + LP5523_LED_CONTROL_BASE = 0x06, + LP5523_PWM_BASE = 0x16, LP5523_MISC = 0x36, LP5523_STATUS = 0x3a, LP5523_INTERRUPT = 0x3a, @@ -103,8 +106,17 @@ enum lp5523_registers { LP5523_TEMPERATURE_WRITE = 0x40, LP5523_LED_TEST_CONTROL = 0x41, LP5523_LED_TEST_ADC = 0x42, + LP5523_ENG1_PROG_START_ADDR = 0x4c, + LP5523_ENG2_PROG_START_ADDR = 0x4d, + LP5523_ENG3_PROG_START_ADDR = 0x4e, LP5523_PROG_MEM_PAGE_SEL = 0x4f, + LP5523_LED_MASTER_FADER1 = 0x48, + LP5523_LED_MASTER_FADER2 = 0x49, + LP5523_LED_MASTER_FADER3 = 0x4A, LP5523_PROGRAM_MEMORY = 0x50, + LP5523_ENG1_MAPPING_MSB = 0X70, + LP5523_ENG2_MAPPING_MSB = 0X72, + LP5523_ENG3_MAPPING_MSB = 0X74, LP5523_GAIN_CHANGE_CTRL = 0x76 }; ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services