Skip to content

Commit 96a9bb0

Browse files
committed
stm32f469 moved ltdc to tfbga namespace and added clock id bit position
1 parent c33af4c commit 96a9bb0

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

targets/chip/stm32f469/io/ltdc.hpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace klib::stm32f469::io::periph::detail::ltdc {
2929
}
3030

3131
// global peripherals, not affected by chip package
32-
namespace klib::stm32f469::io::periph {
32+
namespace klib::stm32f469::io::periph::tfbga216 {
3333
template <
3434
typename Clk = pins::package::tfbga216::ph3,
3535
typename Hsync = pins::package::tfbga216::pd5,
@@ -70,6 +70,9 @@ namespace klib::stm32f469::io::periph {
7070
// error interrupt id (including the arm vector table)
7171
constexpr static uint32_t error_interrupt_id = 16 + 89;
7272

73+
// peripheral clock bit position
74+
constexpr static uint32_t clock_id = (4 * 32) + 26;
75+
7376
// port to the LTDC hardware
7477
static inline LTDC_Type *const port = LTDC;
7578

0 commit comments

Comments
 (0)